Skip to content

Commit 5e4cb76

Browse files
committed
Use spaced token flag for Vercel CLI
1 parent 798fb9b commit 5e4cb76

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/vercel-production.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,23 +35,23 @@ jobs:
3535
- name: Pull Vercel Environment
3636
if: steps.vercel-config.outputs.configured == 'true'
3737
working-directory: docs/web
38-
run: vercel pull --yes --environment=production
38+
run: vercel pull --yes --environment=production --token "$VERCEL_TOKEN"
3939
env:
4040
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
4141
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
4242
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
4343
- name: Build
4444
if: steps.vercel-config.outputs.configured == 'true'
4545
working-directory: docs/web
46-
run: vercel build --prod
46+
run: vercel build --prod --token "$VERCEL_TOKEN"
4747
env:
4848
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
4949
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
5050
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
5151
- name: Deploy
5252
if: steps.vercel-config.outputs.configured == 'true'
5353
working-directory: docs/web
54-
run: vercel deploy --prebuilt --prod
54+
run: vercel deploy --prebuilt --prod --token "$VERCEL_TOKEN"
5555
env:
5656
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
5757
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}

0 commit comments

Comments
 (0)