Skip to content

Commit

Permalink
Feat: set Json File Add
Browse files Browse the repository at this point in the history
  • Loading branch information
Hawardshin committed Nov 6, 2024
1 parent b81c14d commit d7d6471
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/CICD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,19 @@ jobs:
run: |
cd ./src/main/resources
echo "${{ secrets.SECRET_PROPERTIES }}" > ./application-prod.yml
- name: Make FCM JSON
- name: create firebase-admin.json
id: create-json
uses: jsdaniell/create-json@1.1.2
with:
name: FirebaseAdminSDK.json
json: ${{ secrets.AWS_FCM_JSON }}

- name: MOVE FCM JSON
run: |
mv firebase-admin.json ./src/main/resources
cd ./src/main/resources
mkdir -p firebase
cd firebase
echo "${{ secrets.AWS_FCM_JSON }}" > ./FirebaseAdminSDK.json
mv FirebaseAdminSDK.json ./firebase
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
Expand Down

0 comments on commit d7d6471

Please sign in to comment.