diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index e4a2304..16b33a3 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -19,11 +19,13 @@ jobs: - name: Create JSON file id: create-json - uses: jsdaniell/create-json@1.1.2 + uses: jsdaniell/create-json@v1.2.2 with: - dir: ./common-module/src/main/resources - name: "kusitms-plus-firebase-adminsdk-krn6f-5ef95443a1.json" json: ${{ secrets.FIREBASE_JSON }} + name: kusitms-plus-firebase-adminsdk-krn6f-5ef95443a1.json + + - name: move JSON file to resources directory + run: mv kusitms-plus-firebase-adminsdk-krn6f-5ef95443a1.json ./common-module/src/main/resources/ - name: make application yml run: | diff --git a/.gitignore b/.gitignore index 2f1c820..b6577d3 100644 --- a/.gitignore +++ b/.gitignore @@ -38,5 +38,5 @@ out/ api-module/src/main/resources/application-prod.yml api-module/src/main/resources/application-local.yml -common-module/src/main/resources +common-module/src/main/resources/kusitms-plus-firebase-adminsdk-krn6f-5ef95443a1.json docker-compose.yml