Skip to content

#fix Expose deployment inspector url #256 #1

#fix Expose deployment inspector url #256

#fix Expose deployment inspector url #256 #1

Workflow file for this run

name: example - team scope
on:
push:
branches:
- master
pull_request_target:
jobs:
static:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./
id: now-deployment-staging
if: github.event_name == 'pull_request_target'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ secrets.VERCEL_ORG_ID_TEAM_SCOPE }}
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID_TEAM_SCOPE }}
working-directory: example/team-scope
scope: ${{ secrets.VERCEL_SCOPE }}
- uses: ./
id: now-deployment-production
if: github.event_name == 'push'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ secrets.VERCEL_ORG_ID_TEAM_SCOPE }}
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID_TEAM_SCOPE }}
vercel-args: '--prod'
scope: ${{ secrets.VERCEL_SCOPE }}
working-directory: example/team-scope