diff --git a/.github/workflows/backend-cicd.yml b/.github/workflows/backend-cicd.yml index a02adad..80ba16c 100644 --- a/.github/workflows/backend-cicd.yml +++ b/.github/workflows/backend-cicd.yml @@ -14,7 +14,6 @@ jobs: working-directory: ./backend APPLICATION: ${{ secrets.APPLICATION }} GOOGLE_APPLICATION_CREDENTIALS: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }} - APPLE_KEY: ${{ secrets.APPLE_KEY }} steps: # 소스 코드 체크아웃 @@ -44,6 +43,8 @@ jobs: cd ./backend/src/main/resources touch ./application.yml echo "${{env.APPLICATION}}" > ./application.yml + touch ./firebase-key.json + echo "${{env.GOOGLE_APPLICATION_CREDENTIALS}}" | base64 --decode > ./firebase-key.json # 설정 파일을 작업공간에 저장 - uses: actions/upload-artifact@v2 @@ -51,6 +52,11 @@ jobs: name: application.yml path: ./backend/src/main/resources/application.yml + - uses: actions/upload-artifact@v2 + with: + name: firebase-key.json + path: ./src/main/resources/firebase-key.json + # gradlew 권한 설정 - name: Grant execute permission for gradlew run: chmod +x gradlew