File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 1- # 추후 dev에 머지 되면 cd.yml로 배포 워크플로우 분리
1+ # 추후 프로젝트 ci/cd규모 커지면 cd.yml로 배포 워크플로우 분리
22
33name : CD - Deploy Backend
44
Original file line number Diff line number Diff line change 11name : CI/CD — Backend (Build → Push → Deploy)
22
33on :
4- # dev에 머지 전 ci push 대상 브랜치 중첩 적용 (release, dev)
54 push :
6- branches : [ release, dev ]
5+ branches : [ dev ]
76 pull_request :
87 branches : [ dev ]
98 workflow_dispatch :
9291
9392 deploy :
9493 needs : build-and-push
95- # dev에 머지 전 cd 대상 브랜치 중첩 적용 (release, dev)
96- if : github.event_name == 'push' && (github.ref == 'refs/heads/release' || github.ref == 'refs/heads/dev') &&
94+ if : github.event_name == 'push' && (github.ref == 'refs/heads/dev') &&
9795 (needs.build-and-push.result == 'success')
9896 || (github.event_name == 'workflow_dispatch')
9997 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments