Skip to content

chore(deps): update pnpm to v9.15.1 (#9439) #548

chore(deps): update pnpm to v9.15.1 (#9439)

chore(deps): update pnpm to v9.15.1 (#9439) #548

name: Website (Production)
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deploy:
environment:
name: Website
url: ${{ steps.deploy.outputs.url }}
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_TEAM_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@main
- uses: ./.github/actions/ci-setup
- run: pnpm install -w vercel@canary --ignore-scripts
- run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
- run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
- id: deploy
run: |
url=$(vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }})
echo "url=$url" >> "$GITHUB_OUTPUT"