File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 - " website/**"
99 workflow_dispatch :
1010
11+ env :
12+ VERCEL_ORG_ID : ${{ secrets.VERCEL_ORG_ID }}
13+ VERCEL_PROJECT_ID : prj_V3iY3AcH0wIXxMHW4oDy3W3XzfnN
14+
1115jobs :
1216 deploy :
1317 runs-on : ubuntu-latest
14- strategy :
15- matrix :
16- node-version : [18.x]
1718 defaults :
1819 run :
1920 working-directory : website
2021 steps :
21- - uses : actions/checkout@v4
22- - name : Deploy to Vercel
23- uses : amondnet/vercel-action@v25.1.1
24- env :
25- VERSION : ${{ env.GITHUB_SHA }}
26- with :
27- vercel-token : ${{ secrets.VERCEL_TOKEN }}
28- vercel-org-id : ${{ secrets.VERCEL_ORG_ID }}
29- vercel-project-id : prj_V3iY3AcH0wIXxMHW4oDy3W3XzfnN
30- working-directory : ./
31- vercel-args : ' --prod'
22+ - uses : actions/checkout@v4
23+ - uses : actions/setup-node@v4
24+ with :
25+ node-version : 20
26+ - name : Install Vercel CLI
27+ run : npm install --global vercel@latest
28+ - name : Pull Vercel Environment Information
29+ run : vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
30+ - name : Build Project Artifacts
31+ run : vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
32+ - name : Deploy Project Artifacts to Vercel
33+ run : vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
You can’t perform that action at this time.
0 commit comments