We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b67e97a commit 3290b64Copy full SHA for 3290b64
.github/workflows/deploy.yml
@@ -2,8 +2,13 @@ name: deploy
2
3
on:
4
push:
5
- branches: [main]
+ branches:
6
+ - main
7
+ - stage
8
pull_request:
9
10
11
12
types: [opened, synchronize, reopened]
13
14
permissions:
@@ -22,4 +27,4 @@ jobs:
22
27
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
23
28
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
24
29
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
25
- PRODUCTION: ${{ github.event_name == 'push' }}
30
+ PRODUCTION: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
0 commit comments