Skip to content

Commit

Permalink
배배뱁
Browse files Browse the repository at this point in the history
  • Loading branch information
JONG-KYEONG committed Jan 8, 2024
1 parent 8b20bdc commit fd9a450
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/usr/bin/env bash

REPOSITORY=/home/ubuntu/GLOG/server
REPOSITORY=/home/ubuntu/glog
cd $REPOSITORY

APP_NAME=GLOG
JAR_NAME=$(ls $REPOSITORY/build/libs/ | grep 'SNAPSHOT.jar' | tail -n 1)
JAR_PATH=$REPOSITORY/build/libs/$JAR_NAME
APP_NAME=glog
JAR_NAME=$(ls $REPOSITORY/server/build/libs/ | grep 'SNAPSHOT.jar' | tail -n 1)
JAR_PATH=$REPOSITORY/server/build/libs/$JAR_NAME

CURRENT_PID=$(pgrep -f $APP_NAME)

Expand Down

0 comments on commit fd9a450

Please sign in to comment.