Skip to content

Commit

Permalink
Update deploy.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
gol2580 authored Jan 20, 2024
1 parent e2e3768 commit bacff69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bacff69

Please sign in to comment.