chore(deps): lock file maintenance (#9386) #518
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: 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" |