Skip to content

Commit 811e8ce

Browse files
committed
Set Vercel token via command line
1 parent 28da273 commit 811e8ce

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/ci.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ jobs:
2222
npm run build
2323
- name: vercel deploy
2424
if: ${{ github.ref == 'refs/heads/docusaurus' }}
25-
run: vercel deploy --prod
25+
run: vercel --token ${{ secrets.VERCEL_TOKEN }} deploy --prod
2626
env:
2727
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
2828
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
29-
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}

0 commit comments

Comments
 (0)