Skip to content

Commit

Permalink
Chore: JAR파일 경로 확인을 위한 와일드카드 설정 (#10)
Browse files Browse the repository at this point in the history
* Chore: update code-deploy-app-name

* Chore: set overwrite

* Chore: 배포 스크립트 분기 로그 추가

* Chore: 브랜치 확인을 위한 경로 이동 스크립트 추가

* Chore: 작업 디렉토리 신뢰를 위한 git 설정

* Chore: jar파일 경로 구체화
  • Loading branch information
Youthhing authored May 28, 2024
1 parent 30e8250 commit 5590919
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ else
exit 1
fi

JAR_PATH="/home/ubuntu/backend/$PROJECT_NAME/build/libs/*$PROFILE.jar"
JAR_PATH="/home/ubuntu/backend/$PROJECT_NAME/build/libs/*$PROFILE*.jar"
DEPLOY_PATH=/home/ubuntu/backend/$DIRECTORY/$PROJECT_NAME/ #jar 파일이 복사되고 실행될 경로
DEPLOY_LOG_PATH="/home/ubuntu/backend/$DIRECTORY/log/deploy/$PROJECT_NAME/deploy_$(date +%Y%m%d).log"
DEPLOY_ERR_LOG_PATH="/home/ubuntu/backend/$DIRECTORY/log/deploy/$PROJECT_NAME/deploy_err_$(date +%Y%m%d).log"
Expand Down

0 comments on commit 5590919

Please sign in to comment.