File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525
2626 - name : Run Tests
2727 working-directory : ./frontend
28- run : npm test --if-present
28+ run : npm test
2929
3030 - name : Build App
3131 working-directory : ./frontend
@@ -44,10 +44,17 @@ jobs:
4444 working-directory : ./frontend
4545 run : npm install
4646
47- - name : Deploy to Vercel
47+ - name : Link Vercel Project
4848 working-directory : ./frontend
49- run : npx vercel --prod --yes
49+ run : |
50+ npx vercel link --yes --token $VERCEL_TOKEN --project $VERCEL_PROJECT_ID --org $VERCEL_ORG_ID
5051 env :
5152 VERCEL_TOKEN : ${{ secrets.VERCEL_TOKEN }}
5253 VERCEL_ORG_ID : ${{ secrets.VERCEL_ORG_ID }}
5354 VERCEL_PROJECT_ID : ${{ secrets.VERCEL_PROJECT_ID }}
55+
56+ - name : Deploy to Vercel
57+ working-directory : ./frontend
58+ run : npx vercel deploy --prod --yes --token $VERCEL_TOKEN
59+ env :
60+ VERCEL_TOKEN : ${{ secrets.VERCEL_TOKEN }}
You can’t perform that action at this time.
0 commit comments