chore(deps-dev): bump @biomejs/biome from 2.5.2 to 2.5.5 (#812) #33
This file contains hidden or 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: Deploy docs to Vercel | |
| # Docs production deploy. Maps to the GitHub Environment `vercel` so each run | |
| # appears under the repo's Deployments tab with a link to the live site. | |
| # See CONTRIBUTING.md → "Vercel docs deployment". | |
| on: | |
| push: | |
| branches: [master] | |
| workflow_dispatch: | |
| # Never run two production deploys at once; a newer push cancels an in-flight one. | |
| concurrency: | |
| group: vercel-production | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| env: | |
| VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} | |
| VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} | |
| # Pin the CLI for deterministic deploys; override via repo variable when bumping. | |
| VERCEL_CLI_VERSION: ${{ vars.VERCEL_CLI_VERSION || '54.20.1' }} | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| # Skip on forks: secrets are not available and the deploy would fail. | |
| if: github.repository == 'itgalaxy/webfont' | |
| environment: | |
| name: vercel | |
| url: ${{ steps.deploy.outputs.url }} | |
| env: | |
| VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24.x | |
| cache: npm | |
| - name: Install Vercel CLI | |
| run: npm install --global "vercel@${VERCEL_CLI_VERSION}" | |
| - name: Pull Vercel project settings | |
| run: vercel pull --yes --environment=production | |
| - name: Build with Vercel (runs npm run docs:build) | |
| run: vercel build --prod | |
| - name: Deploy prebuilt output to Vercel | |
| id: deploy | |
| run: | | |
| url="$(vercel deploy --prebuilt --prod)" | |
| echo "url=$url" >> "$GITHUB_OUTPUT" | |
| echo "Deployed to $url" |