diff --git a/.github/workflows/github-action.yml b/.github/workflows/github-action.yml index aecde5d6..52ad4659 100644 --- a/.github/workflows/github-action.yml +++ b/.github/workflows/github-action.yml @@ -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