Skip to content

Commit

Permalink
workflow에서 secret 관련 부분 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
codejoo9098 authored Oct 11, 2024
1 parent 8bc5219 commit 3e76520
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,12 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Create Const
run: echo '${{ secrets.CONST }}' > ./app/src/main/java/com/juniori/puzzle/app/util/Const.kt
- name: Copy secret
env:
OCCUPY_SECRET: ${{ secrets.CONST }}
OCCUPY_SECRET_DIR: ./app/src/main/java/com/juniori/puzzle/app/util/Const.kt
OCCUPY_SECRET_DIR_FILE_NAME: secret.yml
run: echo $OCCUPY_SECRET | base64 --decode > $OCCUPY_SECRET_DIR/$OCCUPY_SECRET_DIR_FILE_NAME

# Build Debug App
- name: Build with Gradle
Expand Down

0 comments on commit 3e76520

Please sign in to comment.