From f55b165265d0db0fca6dc0fd5d23062d9fb68aa4 Mon Sep 17 00:00:00 2001 From: Zahary Karadjov Date: Tue, 27 Feb 2024 13:45:17 +0200 Subject: [PATCH] chore(deploy-ci): explicitly use the metacraft-labs Vercel scope We are switching to a paid team account in order to be able to grant multiple developers the necessary access to our PR deployments. Co-authored-by: Emil Ivanichkov --- .github/workflows/deploy.yaml | 4 ++-- .github/workflows/ui-tests.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 71b09625..0cc2e287 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -71,11 +71,11 @@ jobs: id: deployment uses: actions/deploy-pages@v2 - name: Pull Vercel configuration - run: yarn vercel pull --yes --token ${{ secrets.vercel_token }} + run: yarn vercel pull --scope metacraft-labs --yes --token ${{ secrets.vercel_token }} - name: Build Vercel bundle run: yarn vercel build --prod - name: Deploy to Vercel - run: yarn vercel deploy --prebuilt --prod --token ${{ secrets.vercel_token }} > _vercel-deployment-url + run: yarn vercel deploy --scope metacraft-labs --prebuilt --prod --token ${{ secrets.vercel_token }} > _vercel-deployment-url - name: Add deployment uses: actions/github-script@v6 id: vercel-deployment diff --git a/.github/workflows/ui-tests.yaml b/.github/workflows/ui-tests.yaml index 3e8166bc..f46ddfd3 100644 --- a/.github/workflows/ui-tests.yaml +++ b/.github/workflows/ui-tests.yaml @@ -58,11 +58,11 @@ jobs: - name: Check formatting run: yarn format:check - name: Pull Vercel configuration - run: yarn vercel pull --yes --token ${{ secrets.vercel_token }} + run: yarn vercel pull --scope metacraft-labs --yes --token ${{ secrets.vercel_token }} - name: Build Vercel bundle run: yarn vercel build - name: Deploy to Vercel - run: yarn vercel deploy --prebuilt --token ${{ secrets.vercel_token }} > _vercel-deployment-url + run: yarn vercel deploy --scope metacraft-labs --prebuilt --token ${{ secrets.vercel_token }} > _vercel-deployment-url - name: Comment on PR with deployment URL uses: actions/github-script@v6 with: