Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shinsj4653 authored Jan 15, 2024
1 parent a9948b9 commit 8480c9f
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ permissions:
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./server

steps:
# 기본 체크아웃
Expand All @@ -35,11 +38,15 @@ jobs:
distribution: 'temurin'
# 환경 변수 설정
- name: Set environment values
run: |
cd ./src/main/resources
touch ./application.properties
echo "FIREBASE_KEYPATH=${{ secrets.FIREBASE_KEYPATH }}" >> application.properties
run: echo "FIREBASE_KEYPATH=${{ secrets.FIREBASE_KEYPATH }}" >> application.properties
working-directory: ./src/main/resources
shell: bash

- name: Set serviceAccountKey.json
run: echo "${{ secrets.SERVICE_ACCOUNT_KEY_JSON }}" >> serviceAccountKey.json
working-directory: ./src/main/resources
shell: bash

# Gradle build (Test 제외)
- name: Build with Gradle
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
Expand Down

0 comments on commit 8480c9f

Please sign in to comment.