Skip to content

Commit

Permalink
Merge pull request #24 from Tune-Fun/configuration/workflow/cicd
Browse files Browse the repository at this point in the history
configuration(workflow) cicd
  • Loading branch information
habinkim authored Mar 7, 2024
2 parents 874c5ff + 1375064 commit df51a6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
BUILD_JAR=$(ls /home/habin/action/build/libs/*.jar)
BUILD_JAR=$(ls /home/habin/action/build/libs/tune_fun-0.0.1-SNAPSHOT.jar)
JAR_NAME=$(basename $BUILD_JAR)
echo "> build 파일명: $JAR_NAME" >> /home/habin/action/deploy.log

Expand All @@ -21,4 +21,4 @@ fi

DEPLOY_JAR=$DEPLOY_PATH$JAR_NAME
echo "> DEPLOY_JAR 배포" >> /home/habin/action/deploy.log
nohup java -jar $DEPLOY_JAR --spring.profiles.active=dev >> /home/habin/deploy.log 2>/home/habin/action/deploy_err.log &
nohup java -jar $DEPLOY_JAR --spring.profiles.active=dev 1>/home/habin/deploy.log 2>/home/habin/action/deploy_err.log &1 &

0 comments on commit df51a6a

Please sign in to comment.