Skip to content

Commit

Permalink
setting: githubaction deploy 스크립트 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
seminchoi committed Aug 20, 2024
1 parent 3d777a1 commit c9001c7
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,9 +1,9 @@
#!/bin/bash

# 변수 설정
build_jar=$(ls /home/ubuntu/app/deploy/ticketing.jar)
build_jar=$(ls /home/ubuntu/deploy/ticketing.jar)
jar_name=$(basename "$build_jar")
deploy_log=/home/ubuntu/app/deploy/deloy.log
deploy_log=/home/ubuntu/deploy/deloy.log

echo ">>> 현재 실행중인 애플리케이션 pid 확인" >> $deploy_log
CURRENT_PID=$(pgrep -f "$jar_name")
Expand Down

0 comments on commit c9001c7

Please sign in to comment.