We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35024f3 commit bd456c0Copy full SHA for bd456c0
.github/workflows/production.yaml
@@ -0,0 +1,21 @@
1
+name: Vercel Production Deployment
2
+env:
3
+ VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
4
+ VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
5
+on:
6
+ push:
7
+ branches:
8
+ - main
9
+jobs:
10
+ Deploy-Production:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - name: Install Vercel CLI
15
+ run: npm install --global vercel@latest
16
+ - name: Pull Vercel Environment Information
17
+ run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
18
+ - name: Build Project Artifacts
19
+ run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
20
+ - name: Deploy Project Artifacts to Vercel
21
+ run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
0 commit comments