From ccd2bcfd4c0cc0bafdd4b02a4080268ee30d1a2d Mon Sep 17 00:00:00 2001 From: byeolhaha Date: Sun, 12 May 2024 19:43:09 +0900 Subject: [PATCH] =?UTF-8?q?chore=20:=20cicd=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- appspec.yml | 4 ++-- scripts/deploy.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/appspec.yml b/appspec.yml index 9558c33..724d389 100644 --- a/appspec.yml +++ b/appspec.yml @@ -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: diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 15704bf..684573c 100644 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -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")