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 <emil.ivanichkov@gmail.com>
This commit is contained in:
parent
8578889a58
commit
f55b165265
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue