diff --git a/scripts/deploy.sh b/scripts/deploy.sh index d0b55a9..825188f 100644 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -2,8 +2,8 @@ REPOSITORY=/home/ec2-user/app cd $REPOSITORY APP_NAME=kimgreen -JAR_NAME=$(ls $REPOSITORY/build/libs/ | grep '.jar' | head -n 1) -#JAR_NAME=/home/ec2-user/app/build/libs/backend-0.0.1-SNAPSHOT.jar +#JAR_NAME=$(ls $REPOSITORY/build/libs/ | grep '.jar' | head -n 1) +JAR_NAME=/home/ec2-user/app/build/libs/backend-0.0.1-SNAPSHOT.jar JAR_PATH=$REPOSITORY/build/libs/$JAR_NAME CURRENT_PID=$(pgrep -f java)