-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (30 loc) · 1001 Bytes
/
preview.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Vercel Previews Deployment
on:
push:
branches:
- dev
workflow_call:
secrets:
VERCEL_NAME_EXAMPLE_DEFAULT:
required: true
VERCEL_NAME_EXAMPLE_UPGRADE:
required: true
VERCEL_SCOPE:
required: true
VERCEL_TOKEN:
required: true
SENTRY_AUTH_TOKEN:
required: true
jobs:
default-example:
uses: ./.github/workflows/preview-common.yaml
secrets:
vercel_project_name: ${{ secrets.VERCEL_NAME_EXAMPLE_DEFAULT }}
vercel_scope: ${{ secrets.VERCEL_SCOPE }}
vercel_token: ${{ secrets.VERCEL_TOKEN }}
upgrade-example:
uses: ./.github/workflows/preview-common.yaml
secrets:
vercel_token: ${{ secrets.VERCEL_TOKEN }}
vercel_project_name: ${{ secrets.VERCEL_NAME_EXAMPLE_UPGRADE }}
vercel_scope: ${{ secrets.VERCEL_SCOPE }}