Skip to content

Commit

Permalink
Merge pull request #8 from 9oormthon-univ/hyundong
Browse files Browse the repository at this point in the history
deploy.yml 파일에 프로퍼티 파일 확인 코드 추가
  • Loading branch information
hyundong-L authored Nov 19, 2024
2 parents f4ba7c1 + 607b6a8 commit 97c0cae
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@ jobs:
echo "${{ secrets.APPLICATION_PROD }}" > ./application-prod.yml
echo "${{ secrets.APPLICATION_COMMON }}" > ./application-common.yml
- name: Verify application yml files
run: |
ls -l ./src/main/resources
- name: Debug yml file contents
run: |
echo "${{ secrets.APPLICATION_PROD }}"
echo "${{ secrets.APPLICATION_COMMON }}"
# Gradle 설정
- name: Setup Gradle
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5
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 @@ -3,7 +3,7 @@ spring:
name: onchung

profiles:
active: local, common
active: prod, common

---
spring:
Expand Down

0 comments on commit 97c0cae

Please sign in to comment.