Skip to content

Commit

Permalink
chore: 설정 파일 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
BinarySstar committed Nov 20, 2024
1 parent 50f870f commit ead0af5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
run: |
ssh -i ${{ secrets.EC2_SSH_KEY }} ubuntu@${{ secrets.EC2_HOST }} << EOF
# S3에서 application-prod.yml 다운로드
aws s3 cp s3://your-bucket-name/application-prod.yml /home/spring_server/application-prod.yml
aws s3 cp s3://kongju-s3-bucket/application-prod.yml /home/spring_server/application-prod.yml
# 서버 실행
nohup java -jar -Dspring.config.location=/home/spring_server/application-prod.yml /home/spring_server/app.jar > /home/spring_server/app.log 2>&1 &
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ spring:
application:
name: "kongju"
profiles:
active: kakao, aws
active: kakao, aws, prod
datasource:
url: jdbc:h2:mem:testdb;MODE=MYSQL
driver-class-name: org.h2.Driver
Expand Down

0 comments on commit ead0af5

Please sign in to comment.