Skip to content

Commit

Permalink
mod:: 파일작성 방법 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jjjh02 authored Feb 5, 2025
1 parent ce37e37 commit 889c6c1
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,16 @@ jobs:
debug: true
script: |
sudo mkdir -p /home/ubuntu/OnTime-back/ontime-back/src/main/resources
echo '${{ secrets.ONTIME_PUSH_FIREBASE_ADMINSDK }}' > /home/ubuntu/OnTime-back/ontime-back/src/main/resources/ontime-push-firebase-adminsdk-gnpxs-7d098872ff.json
cd /home/ubuntu/OnTime-back/ontime-back/src/main/resources
cat <<EOT > ontime-push-firebase-adminsdk-gnpxs-7d098872ff.json
${{ secrets.ONTIME_PUSH_FIREBASE_ADMINSDK }}
EOT
sudo mkdir -p /home/ubuntu/OnTime-back/ontime-back/src/main/resources/key
echo '${{ secrets.AUTHKEY_743M7R5W3W }}' > /home/ubuntu/OnTime-back/ontime-back/src/main/resources/key/AuthKey_743M7R5W3W.p8
cd /home/ubuntu/OnTime-back/ontime-back/src/main/resources/key
cat <<EOT > AuthKey_743M7R5W3W.p8
${{ secrets.AUTHKEY_743M7R5W3W }}
EOT
cd /home/ubuntu/OnTime-back/ontime-back
CONTAINER_ID=$(sudo docker ps -aq --filter "name=ontime-container")
Expand Down

0 comments on commit 889c6c1

Please sign in to comment.