diff --git a/BackEnd/scripts/deploy.sh b/BackEnd/scripts/deploy.sh index 8e2bb03..999e4a0 100644 --- a/BackEnd/scripts/deploy.sh +++ b/BackEnd/scripts/deploy.sh @@ -1,3 +1,5 @@ +KEY=/home/ubuntu/key + REPOSITORY=/home/ubuntu/4k cd $REPOSITORY @@ -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 & \ No newline at end of file