Skip to content

Commit

Permalink
chore : cicd 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
byeolhaha committed May 12, 2024
1 parent 9b0c641 commit ccd2bcf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions appspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ os: linux

files:
- source: /
destination: /home/ubuntu/meritz
destination: /home/ubuntu/hello
overwrite: yes
file_exists_behavior: OVERWRITE
permissions:
- object: /home/ubuntu/meritz/
- object: /home/ubuntu/hello/
owner: ubuntu
group: ubuntu
hooks:
Expand Down
2 changes: 1 addition & 1 deletion scripts/deploy.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

# JAR 파일 경로 설정
JAR_PATH="/home/ubuntu/meritz/build/libs/hellomeritz-0.0.1-SNAPSHOT.jar"
JAR_PATH="/home/ubuntu/hello/build/libs/hello-0.0.1-SNAPSHOT.jar"

# 실행 중인 애플리케이션의 PID 찾기
CURRENT_PID=$(pgrep -f "java -jar $JAR_PATH")
Expand Down

0 comments on commit ccd2bcf

Please sign in to comment.