Skip to content

config.yml #90

Answered by doingH
doingH asked this question in 질문과 답변
Feb 23, 2022 · 1 comment
Discussion options

You must be logged in to vote

결론적으로 자체 해결했습니다.

원인

Git으로 버전을 관리하고 있을 경우 p367(책)처럼 eb setenv SPRING_PROFILES_ACTIVE=prod 명령어로 환경설정만 되고 배포가 되지 않음

해결

$ eb setenv SPRING_PROFILES_ACTIVE=prod
...
$ eb deploy

위 코드 처럼 eb deploy를 실행해야 .elasticbeanstalk/config.yml의 deploy:artifact 경로에 jar를 배포함

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by fsoftwareengineer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant