From 9a0b2fb1d028fcf7bd35bdbce27cf2bd5e56af35 Mon Sep 17 00:00:00 2001 From: jun02160 Date: Sat, 2 Mar 2024 23:10:24 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20bugfix:=20API=20=EC=84=9C?= =?UTF-8?q?=EB=B2=84=20Firebase=20=EC=84=A4=EC=A0=95=20=EC=B6=94=EA=B0=80?= =?UTF-8?q?=20#121?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/api-CD.yml | 12 ++++++++++++ .github/workflows/api-CI.yml | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/.github/workflows/api-CD.yml b/.github/workflows/api-CD.yml index 2639a17..6d44c65 100644 --- a/.github/workflows/api-CD.yml +++ b/.github/workflows/api-CD.yml @@ -44,6 +44,18 @@ jobs: working-directory: ${{ env.working-directory }} + - name: Firebase JSON 파일 생성 + run: | + cd ./motivoo-api/src/main/resources + + mkdir ./firebase + cd ./firebase + echo $(ls -al) + + aws s3 cp --region ap-northeast-2 s3://${{ secrets.S3_BUCKET_PATH }}/motivoo-firebase-adminsdk.json . + echo $(ls -al; pwd) + + shell: bash - name: Gradle Properties 파일 생성 run: | diff --git a/.github/workflows/api-CI.yml b/.github/workflows/api-CI.yml index 1275159..77fd12b 100644 --- a/.github/workflows/api-CI.yml +++ b/.github/workflows/api-CI.yml @@ -50,6 +50,18 @@ jobs: working-directory: ${{ env.working-directory }} + - name: Firebase JSON 파일 생성 + run: | + cd ./motivoo-api/src/main/resources + + mkdir ./firebase + cd ./firebase + echo $(ls -al) + + aws s3 cp --region ap-northeast-2 s3://${{ secrets.S3_BUCKET_PATH }}/motivoo-firebase-adminsdk.json . + echo $(ls -al; pwd) + + shell: bash - name: Gradle Properties 파일 생성 run: |