Skip to content

Commit

Permalink
[Docs]: 환경변수 파일 생성 후 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
Hxxjeong committed Oct 2, 2024
1 parent c93e17a commit 86804db
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/start.sh
Original file line number Diff line number Diff line change
@@ -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"

Expand All @@ -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

Expand Down

0 comments on commit 86804db

Please sign in to comment.