ci: use `--token` for each vercel command separately
This commit is contained in:
parent
636ed30ba0
commit
4f4e142224
|
@ -69,11 +69,9 @@ jobs:
|
|||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v2
|
||||
- name: Log in to Vercel
|
||||
run: yarn vercel login --token ${{ secrets.vercel_token }}
|
||||
- name: Pull Vercel configuration
|
||||
run: yarn vercel pull --yes
|
||||
run: yarn vercel pull --yes --token ${{ secrets.vercel_token }}
|
||||
- name: Build Vercel bundle
|
||||
run: yarn vercel build --prod
|
||||
- name: Deploy to Vercel
|
||||
run: yarn vercel deploy --prebuilt --prod
|
||||
run: yarn vercel deploy --prebuilt --prod --token ${{ secrets.vercel_token }}
|
||||
|
|
Loading…
Reference in New Issue