Commit 7cbc92b 1 parent 88bb8a4 commit 7cbc92b Copy full SHA for 7cbc92b
File tree 1 file changed +10
-12
lines changed
1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -80,17 +80,15 @@ jobs:
80
80
- name : Lint
81
81
run : yarn run lint
82
82
83
- Deploy :
84
- needs : Check
83
+ Deploy-Production :
85
84
runs-on : ubuntu-latest
86
- if : " !contains(github.event.head_commit.message, '[skip ci]')"
87
85
steps :
88
- - name : Checkout
89
- uses : actions/checkout@v2
90
- - name : Deploy to Vercel Action
91
- uses : BetaHuhn/deploy-to-vercel-action@v1
92
- with :
93
- GITHUB_TOKEN : ${{ secrets.GH_PAT }}
94
- VERCEL_TOKEN : ${{ secrets.VERCEL_TOKEN }}
95
- VERCEL_ORG_ID : ${{ secrets.VERCEL_ORG_ID }}
96
- VERCEL_PROJECT_ID : ${{ secrets.VERCEL_PROJECT_ID }}
86
+ - uses : actions/checkout@v2
87
+ - name : Install Vercel CLI
88
+ run : npm install --global vercel@latest
89
+ - name : Pull Vercel Environment Information
90
+ run : vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
91
+ - name : Build Project Artifacts
92
+ run : vercel build --prod --token= ${{ secrets.VERCEL_TOKEN }}
93
+ - name : Deploy Project Artifacts to Vercel
94
+ run : vercel deploy --prebuilt --prod --token= ${{ secrets.VERCEL_TOKEN }}
You can’t perform that action at this time.
0 commit comments