Skip to content

Commit

Permalink
fix: deploy.sh 명령문 추가 (ssl, firebase 키 값)
Browse files Browse the repository at this point in the history
  • Loading branch information
KangJiSseok committed Mar 12, 2024
1 parent cc3a878 commit d8c8eae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions BackEnd/scripts/deploy.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
KEY=/home/ubuntu/key

REPOSITORY=/home/ubuntu/4k
cd $REPOSITORY

Expand All @@ -15,5 +17,9 @@ else
sleep 5
fi

echo "> Paste Folder"
cp -r $KEY/ssl $REPOSITORY/src/main/resources
cp -r $KEY/firebase $REPOSITORY/src/main/resources

echo "> Deploy - $JAR_PATH "
nohup java -jar $JAR_PATH > $REPOSITORY/build/libs/nohup.out 2>&1 &

0 comments on commit d8c8eae

Please sign in to comment.