From 404ac45dd22ce4a564758db78f72d9ee5cd6defd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=ED=98=84=EC=9A=B1?= <43662405+hyunw9@users.noreply.github.com> Date: Mon, 15 Jul 2024 20:27:56 +0900 Subject: [PATCH] Update cicd-pipeline.yml --- .github/workflows/cicd-pipeline.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cicd-pipeline.yml b/.github/workflows/cicd-pipeline.yml index 2ac6ef3..1b92ddb 100644 --- a/.github/workflows/cicd-pipeline.yml +++ b/.github/workflows/cicd-pipeline.yml @@ -27,11 +27,13 @@ jobs: cat ./application.yml working-directory: ${{ env.working-directory }} - - name: firebase-adminsdk.json 생성 - run: | - printf "%s" "${{ secrets.FIREBASE_SDK }}" > ./src/main/resources/firebase-adminsdk.json - cat ./src/main/resources/firebase-adminsdk.json - working-directory: ${{ env.working-directory }} + - name: create-firebase-adminsdk.json + id: create-json + uses: jsdaniell/create-json@v1.2.2 + with: + name: "firebase-adminsdk.json" + json: ${{ secrets.FIREBASE_SDK }} + dir: 'src/main/resources/' # Gradle 캐싱 - name: Gradle 캐싱