Skip to content

Commit b59fc5f

Browse files
committed
Chore: ci-cd.yml 수정 - 대상 브랜치에서 release삭제
1 parent c91fc9f commit b59fc5f

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 추후 dev에 머지 되면 cd.yml로 배포 워크플로우 분리
1+
# 추후 프로젝트 ci/cd규모 커지면 cd.yml로 배포 워크플로우 분리
22

33
name: CD - Deploy Backend
44

.github/workflows/ci-cd.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
name: CI/CD — Backend (Build → Push → Deploy)
22

33
on:
4-
# dev에 머지 전 ci push 대상 브랜치 중첩 적용 (release, dev)
54
push:
6-
branches: [ release, dev ]
5+
branches: [ dev ]
76
pull_request:
87
branches: [ dev ]
98
workflow_dispatch:
@@ -92,8 +91,7 @@ jobs:
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

0 commit comments

Comments
 (0)