Skip to content

Commit

Permalink
feat: cicd test6
Browse files Browse the repository at this point in the history
  • Loading branch information
birdieHyun committed Oct 25, 2023
1 parent 87801c4 commit 8ed2d0c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
REPOSITORY=~/be
APP_NAME=yonsei-golf-dev-deploy
REPOSITORY=/opt/testapp
APP_NAME=yonsei-golf-deploy
cd $REPOSITORY

JAR_NAME=$(ls $REPOSITORY/build/libs/ | grep '.jar' | tail -n 1)
Expand All @@ -18,4 +18,4 @@ else
fi
echo "> $JAR_PATH 배포"

java -jar $JAR_PATH > app.log 2>&1 &
java -jar $JAR_NAME > app.log 2>&1 &

0 comments on commit 8ed2d0c

Please sign in to comment.