We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe3d30b commit 5b963cbCopy full SHA for 5b963cb
1 file changed
.github/workflows/deploy-website.yml
@@ -27,13 +27,20 @@ jobs:
27
- name: Install dependencies
28
run: pnpm install --frozen-lockfile
29
30
- - name: Build Website
+ - name: Pull Vercel Environment Information
31
env:
32
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
33
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
34
run: |
35
npm install -g vercel
36
- cd website && vercel build --token=${{ secrets.VERCEL_TOKEN }}
+ cd website && vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
37
+
38
+ - name: Build Website
39
+ env:
40
+ VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
41
+ VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
42
+ run: |
43
+ cd website && vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
44
45
- name: Deploy to Vercel
46
0 commit comments