Skip to content

Commit

Permalink
[Setting] 배포 스크립트 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jinkonu authored May 25, 2024
1 parent 1ce4573 commit 11fe9c0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion planfit/scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ echo "> build 파일명: $JAR_NAME"

echo "> build 파일 복사"
DEPLOY_PATH=/home/ubuntu/app/
cp $BUILD_PATH $DEPLOY_PATH
if [ "$BUILD_PATH" != "$DEPLOY_PATH$JAR_NAME" ]; then
cp $BUILD_PATH $DEPLOY_PATH
else
echo "> 파일이 이미 동일한 위치에 있습니다. 복사를 건너뜁니다."
fi

echo "> 현재 구동중인 Port 확인"
BLUE_PROFILE=$(curl -s http://localhost/profile)
Expand Down

0 comments on commit 11fe9c0

Please sign in to comment.