Github에서의 작업 관점에서 CD 환경 설정 및 main branch로 병합 과정 #29
ohseil
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
혹시 다른 분들에게 도움이 될까 싶어서 제가 진행했던 방식 공유합니다~!
더 좋은 방법이 있다면 comment 부탁드립니다!
cd Label로 이슈 생성
branch 생성해서 로컬에서 cd 관련 파일들 추가
push해서 pr 만들고 테스트 진행
정상적으로 배포가 되는 것이 확인되면 workflow 파일 내용에서 실행 조건을 다시 main branch에 pr이 병합될 때 수행되도록 변경
develop branch에 squash merge 진행
develop branch에서 main branch로 병합하기 위한 이슈를 deployment Label로 생성
원격 repository에서 main branch로 바꿔보면 commit 내용이 develop이 몇 개 앞서있다고 나오고 그걸 클릭해서 pr 생성
squash merge가 아닌 merge commit 옵션을 선택해서 merge
Beta Was this translation helpful? Give feedback.
All reactions