chore(deps-dev): bump @redocly/cli from 1.5.0 to 1.12.2 #72
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Publish doc registry in Vercel" | |
env: | |
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} | |
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} | |
on: | |
pull_request: | |
branches: | |
- main | |
types: | |
- closed | |
permissions: | |
contents: write | |
jobs: | |
starlight: | |
if: ${{contains(github.head_ref, 'changelog')}} | |
environment: production | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Vercel CLI | |
run: npm install --global vercel@latest bun | |
- name: Pull Vercel Environment Information | |
run: cd ./scripts/doc-registry && vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} | |
- name: Build Project Artifacts | |
run: cd ./scripts/doc-registry && vercel build --prod --token=${{ secrets.VERCEL_TOKEN }} | |
- name: Deploy Project Artifacts to Vercel | |
run: cd ./scripts/doc-registry && vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }} |