Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
echo "FILE_UPLOAD_DIR=/app/uploads" >> .env

mkdir -p ./src/main/resources/firebase
echo '${{ secrets.FCM_JSON }}' > ./src/main/resources/${{ secrets.FIREBASE_SERVICE_ACCOUNT_KEY }}
echo '${{ secrets.FCM_JSON }}' > ./src/main/resources/firebase/${{ secrets.FIREBASE_SERVICE_ACCOUNT_KEY }}

chmod +x ./gradlew

Expand Down
2 changes: 1 addition & 1 deletion runtracker/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ app:
key: ${AUTH_KEY}

firebase:
service-account-key: ${FIREBASE_SERVICE_ACCOUNT_KEY:}
service-account-key: classpath:firebase/${FIREBASE_SERVICE_ACCOUNT_KEY:}
url: https://fcm.googleapis.com/v1/projects/${Firebase_ID}/messages:send
google_api: https://www.googleapis.com/auth/cloud-platform
project_id: ${Firebase_ID}
Expand Down