Skip to content

Commit

Permalink
Merge pull request #307 from GSM-MSG/306-update/cd-script
Browse files Browse the repository at this point in the history
🔀 :: CD 스크립트 수정
  • Loading branch information
KimTaeO authored Apr 4, 2024
2 parents 081aea2 + d97e4f5 commit e2d4e63
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion appspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ os: linux

files:
- source: /
destination: /home/ec2-user/
destination: /home/ec2-user/GAuth-BackEnd
overwrite: yes

permissions:
Expand Down
6 changes: 0 additions & 6 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@ JAR_PATH=$REPOSITORY/$PROJECT_NAME/build/libs/gauth-0.0.1-SNAPSHOT.jar

cd $REPOSITORY/$PROJECT_NAME/

echo "> Git Pull"
git pull origin main

echo "> Project Build"
./gradlew clean build

CURRENT_PID=$(lsof -ti tcp:8080)
if [ -z "$CURRENT_PID" ]; then
echo "> 현재 구동중인 애플리케이션이 없으므로 종료하지 않습니다."
Expand Down

0 comments on commit e2d4e63

Please sign in to comment.