-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## 작업내용 - application.yaml에서 local / prod로 구분지어서 사용 가능 - profiles.active 을 환경에 맞게 설정해야 함 - SecurityConfig에서 개발 환경에 맞게 url 변경 - `@Value`를 통해 application.yaml 환경변수 사용 ## 추가 작업내용 - application.yaml ddl-auto update로 변경 - docker-compose.yaml ${SPRING_DATASOURCE_URL} => ${MYSQL_URL}로 변경 - 배포 시 docker-compose.yaml EC2에 복사 Closes #123
- Loading branch information
Showing
4 changed files
with
106 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,6 +77,16 @@ jobs: | |
--port ${{ secrets.EC2_SSH_PORT }} \ | ||
--cidr ${{ steps.ip.outputs.ipv4 }}/32 | ||
- name: copy file via ssh key | ||
uses: appleboy/[email protected] | ||
with: | ||
host: ${{ secrets.EC2_HOST }} | ||
username: ${{ secrets.EC2_USERNAME }} | ||
key: ${{ secrets.EC2_KEY }} | ||
port: ${{ secrets.EC2_SSH_PORT }} | ||
source: "./docker-compose.yaml" | ||
target: "./talkka/git/E2E2-TALKKA" | ||
|
||
- name: Application Run | ||
uses: appleboy/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters