From 4f4e142224eafbf4cafd2a2730acf4f40e477eeb Mon Sep 17 00:00:00 2001 From: Rickard Andersson Date: Wed, 23 Aug 2023 19:19:30 +0300 Subject: [PATCH] ci: use `--token` for each vercel command separately --- .github/workflows/deploy.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 50f614b1..e0272452 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -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 }}