Skip to content

Commit

Permalink
deploy: Update backend-cicd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
minsu20 authored Dec 2, 2023
1 parent 0534e17 commit e7db4d7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/backend-cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
working-directory: ./backend
APPLICATION: ${{ secrets.APPLICATION }}
GOOGLE_APPLICATION_CREDENTIALS: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
APPLE_KEY: ${{ secrets.APPLE_KEY }}

steps:
# 소스 코드 체크아웃
Expand Down Expand Up @@ -44,13 +43,20 @@ 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
with:
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
Expand Down

0 comments on commit e7db4d7

Please sign in to comment.