Skip to content

Commit

Permalink
Update gradle.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hweyoung authored Dec 6, 2023
1 parent ec937fa commit e8aa348
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,20 @@ jobs:
with:
java-version: '11'
distribution: 'temurin'

- name: Copy yml
env:
OCCUPY_SECRET: ${{ secrets.OCCUPY_SECRET }}
OCCUPY_SECRET_DIR: src/main/resources
OCCUPY_SECRET_DIR_FILE_NAME: application-secret.yml
run: echo $OCCUPY_SECRET | base64 --decode > $OCCUPY_SECRET_DIR/$OCCUPY_SECRET_DIR_FILE_NAME

- name: Copy FCM Secret
env:
FCM_SECRET: ${{ secrets.FCM_SECRET }}
FCM_SECRET_DIR: src/main/resources/firebase
FCM_DIR_FILE_NAME: serviceAccountKey.json
run: echo $FCM_SECRET | base64 --decode > $FCM_SECRET_DIR/$FCM_SECRET_DIR_FILE_NAME

- name: Grant execute permission for gradlew
run: chmod +x gradlew
Expand Down

0 comments on commit e8aa348

Please sign in to comment.