Skip to content

chore(deps): update pnpm to v9.1.1 (#9143) #373

chore(deps): update pnpm to v9.1.1 (#9143)

chore(deps): update pnpm to v9.1.1 (#9143) #373

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
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"