Skip to content

Commit 867358a

Browse files
authored
chore: dev에 머지해도 ecs에 자동 배포되도록 워크플로우 수정 (#31)
1 parent 00999a5 commit 867358a

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,12 @@ jobs:
5858
# 2) ECR 푸시 (main 브랜치 push 시)
5959
push-to-ecr:
6060
needs: build-and-test
61-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
61+
if: |
62+
github.event_name == 'push' &&
63+
(
64+
github.ref == 'refs/heads/main' ||
65+
github.ref == 'refs/heads/dev'
66+
)
6267
runs-on: ubuntu-latest
6368

6469
steps:

0 commit comments

Comments
 (0)