Update explorer.yml

This commit is contained in:
joeaba
2021-10-22 20:15:07 +05:30
committed by GitHub
parent 4d9237fddf
commit de96d93986

View File

@@ -10,7 +10,7 @@ on:
paths: paths:
- 'explorer/**' - 'explorer/**'
jobs: jobs:
preview: check-explorer:
runs-on: ubuntu-latest runs-on: ubuntu-latest
defaults: defaults:
@@ -33,11 +33,15 @@ jobs:
- uses: amondnet/vercel-action@v20 - uses: amondnet/vercel-action@v20
with: with:
vercel-token: ${{ secrets.VERCEL_TOKEN }} # Required vercel-token: ${{ secrets.VERCEL_TOKEN }} # Required
github-token: ${{ secrets.PAT }} #Optional
# vercel-args: '--prod' #for production
vercel-org-id: ${{ secrets.ORG_ID}} #Required vercel-org-id: ${{ secrets.ORG_ID}} #Required
vercel-project-id: ${{ secrets.PROJECT_ID}} #Required vercel-project-id: ${{ secrets.PROJECT_ID}} #Required
working-directory: ./explorer
scope: ${{ secrets.TEAM_ID }} scope: ${{ secrets.TEAM_ID }}
production: production:
runs-on: ubuntu-latest runs-on: ubuntu-latest
defaults: defaults:
run: run:
working-directory: explorer working-directory: explorer
@@ -59,7 +63,9 @@ jobs:
- uses: amondnet/vercel-action@v20 - uses: amondnet/vercel-action@v20
with: with:
vercel-token: ${{ secrets.VERCEL_TOKEN }} # Required vercel-token: ${{ secrets.VERCEL_TOKEN }} # Required
github-token: ${{ secrets.PAT }} #Optional
vercel-args: '--prod' #for production vercel-args: '--prod' #for production
vercel-org-id: ${{ secrets.ORG_ID}} #Required vercel-org-id: ${{ secrets.ORG_ID}} #Required
vercel-project-id: ${{ secrets.PROJECT_ID}} #Required vercel-project-id: ${{ secrets.PROJECT_ID}} #Required
working-directory: ./explorer
scope: ${{ secrets.TEAM_ID }} scope: ${{ secrets.TEAM_ID }}