Skip to content

Commit

Permalink
[PDS-56] feat: git action firebase_service_key.json 등록
Browse files Browse the repository at this point in the history
  • Loading branch information
dangnak2 committed Dec 3, 2023
1 parent 773053d commit 2cecbf6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/github-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@ jobs:
echo "${{ secrets.PROPERTIES_PROD }}" > ./application-prod.yml
shell: bash

## create firebase_service_key-dev.json
- name: make firebase_service_key.json
if: contains(github.ref, 'develop')
run: |
cd ./src/main/resources/firebase
touch ./firebase_service_key.json
echo "${{ secrets.FIREBASE_SERVICE_KEY}}" > ./firebase_service_key.json
shell: bash

## gradle build
- name: Build with Gradle
run: ./gradlew build -x test
Expand Down

0 comments on commit 2cecbf6

Please sign in to comment.