Skip to content

Commit b2fe9bb

Browse files
committed
refactor: CI/CD 스크립트 수정
1 parent 19254be commit b2fe9bb

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/dev_deploy.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,13 @@ jobs:
7777
EOF
7878
7979
# 2. 인증 키 파일 생성 (경로 문제 해결)
80-
# 애플리케이션 실행 위치에 키 파일을 생성하여 경로 문제를 방지합니다.
81-
echo "${{ secrets.FIREBASE_SERVICE_KEY }}" > firebase-service-account.json
82-
echo "${{ secrets.AUTH_KEY_P8 }}" > authkey.p8
80+
cat << EOF > firebase-service-account.json
81+
${{ secrets.FIREBASE_SERVICE_KEY }}
82+
EOF
83+
84+
cat << EOF > authkey.p8
85+
${{ secrets.AUTH_KEY_P8 }}
86+
EOF
8387
8488
# 3. 기존에 실행 중이던 애플리케이션 프로세스 종료
8589
PID=$(ps -ef | grep java | grep *.jar | awk '{print $2}')

0 commit comments

Comments
 (0)