File tree 2 files changed +5
-8
lines changed
2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Deploy API Refs Prod
3
3
on :
4
4
workflow_dispatch : # Allows triggering the workflow manually in GitHub UI
5
5
push :
6
- branches : ["main"]
6
+ branches : ["main", "v0.2" ]
7
7
8
8
# If another push to the same PR or branch happens while this workflow is still running,
9
9
# cancel the earlier run in favor of the next run.
36
36
- name : Build Project Artifacts
37
37
run : vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
38
38
- name : Deploy to Vercel
39
- run : |
40
- if [ ${{ github.ref }} = 'refs/heads/main' ]; then
41
- vercel deploy --prod --token=${{ secrets.VERCEL_TOKEN }}
42
- else
43
- vercel deploy --token=${{ secrets.VERCEL_TOKEN }}
44
- fi
39
+ run : vercel deploy --prod --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
Original file line number Diff line number Diff line change 1
1
node_modules /
2
- ** /node_modules /
2
+ ** /node_modules /
3
+ .next /
4
+ ** /.next /
You can’t perform that action at this time.
0 commit comments