Skip to content

Commit

Permalink
[Fix] :: yml fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lgwk42 committed May 15, 2024
1 parent 6e79bd1 commit 66a5759
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ permissions:
jobs:
CI-CD:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
Expand All @@ -27,7 +28,12 @@ jobs:
spring.datasource.username: ${{ secrets.DB_USERNAME }}
spring.datasource.password: ${{ secrets.DB_PASSWORD }}
application.jwt.secretKey: ${{ secrets.JWT_SECRET_KEY }}
firebase.sdk.path: ${{ secrets.FIREBASE_SDK }}

- name: firebase.json set
run: |
cd ./src/main/resources
touch ./firebase-sdk.json
echo "${{ secrets.FIREBASE_JSON }}" > ./firebase-sdk.json
- name: set chmod
run: chmod +x ./gradlew
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 @@ -24,7 +24,7 @@ application:

firebase:
sdk:
path: ${secrets.FIREBASE_SDK}
path: firebase-sdk.json
notification:
non-check-title: ❗️
non-check-message: 출석이 완료되지 않았습니다.
Expand Down

0 comments on commit 66a5759

Please sign in to comment.