feat: prod 브랜치 배포 파이프라인 추가 #22
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📄 작업 내용
prod 브랜치에 푸시될 때마다 자동으로 아래 과정을 수행하는 CI/CD 파이프라인을 추가했습니다.
(develop 브랜치를 source, 배포용 prod 브랜치를 target으로 두고 PR Merge를 통해 배포)
bootJar)필요한 GitHub Secrets
DEPLOY_WEBHOOK_URL: 배포 알림 받을 웹훅 URLEC2_HOST: 배포 대상 EC2 퍼블릭 IP 또는 도메인EC2_USER: SSH 접속 유저EC2_SSH_KEY: PEM 키 전체 내용 (-----BEGIN RSA PRIVATE KEY----- 포함)🙋🏻 이슈 / 궁금증 / 추가사항