[Infra / feat] develop branch CI/CD 구축 #27
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.
개요 🔍
main / develop branch에 push( + commit, PR) 트리거가 발생할 때, 자동적으로 AWS ec2에 어플리케이션 배포
연관된 이슈
#25
작업사항 📝
DOCKER_USERNAME : DockerHub ID ( ex : [email protected] )
DOCKER_PASSWORD : DockerHub PW ( ex : password )
HOST_PROD : EC2 IPv4
( ex : 12.123.123.123 ( 탄력적 ip )
or
ec2-12-123-123-123.ap-northeast-2.compute.amazonaws.com
( 퍼블릭 ipv4 DNS ) )
PRIVATE_KEY : .pem 파일 복붙(--begin--, --end-- 까지 다 복붙해야함.)
HOST_DEV : EC2 IPv4
( ex : 12.123.123.123 )
USERNAME : EC2 사용자 계정 ID ( ex : ubuntu )
PASSWORD : EC2 사용자 계정 PW ( ex : 1234 )
YML : 프로젝트 .yml 파일에 설정한 내용
비밀번호 설정 참고 블로그
스크린샷 (선택)
테스트 방법
💬리뷰 요구사항(선택)