diff --git a/scripts/start.sh b/scripts/start.sh index 12719b5..a6ddb12 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -1,5 +1,7 @@ #!/bin/bash +source /home/ubuntu/env_vars.sh + ROOT_PATH="/home/ubuntu/spring-github-action" JAR="$ROOT_PATH/inconcert-0.0.1-SNAPSHOT.jar" @@ -9,6 +11,9 @@ START_LOG="$ROOT_PATH/start.log" NOW=$(date +%c) +echo "현재 사용자: $(whoami)" >> $START_LOG +echo "secretKey: $(secretKey)" >> $START_LOG + echo "[$NOW] $JAR 복사" >> $START_LOG cp $ROOT_PATH/build/libs/inconcert-0.0.1-SNAPSHOT.jar $JAR