From be33cdec43aa41fb5ff592864537deef813374cd Mon Sep 17 00:00:00 2001 From: jinia91 Date: Thu, 16 Dec 2021 23:54:45 +0900 Subject: [PATCH] cicd --- scripts/deploy.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 847201a..cff7701 100644 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -33,6 +33,8 @@ chmod +x $JAR_NAME echo "> $JAR_NAME 실행" -nohup java -jar $JAR_NAME > $REPOSITORY/nohup.out 2>&1 & +nohup java -jar \ + -Dspring.config.location=classpath: /application-dev.yml \ + $JAR_NAME > $REPOSITORY/nohup.out 2>&1 &