Skip to content

Commit 3290b64

Browse files
committed
ci: deploy workflow에 stage 브랜치 추가 및 프로덕션 환경 변수 수정
1 parent b67e97a commit 3290b64

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,13 @@ name: deploy
22

33
on:
44
push:
5-
branches: [main]
5+
branches:
6+
- main
7+
- stage
68
pull_request:
9+
branches:
10+
- main
11+
- stage
712
types: [opened, synchronize, reopened]
813

914
permissions:
@@ -22,4 +27,4 @@ jobs:
2227
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
2328
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
2429
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

Comments
 (0)