Skip to content

Commit

Permalink
TEST
Browse files Browse the repository at this point in the history
  • Loading branch information
gidskql6671 committed May 24, 2024
1 parent 7904010 commit 30531cc
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,12 @@ jobs:
git pull origin $BRANCH_NAME
server_process=$(ps -ef | grep OneDayOneBaek-0.0.1-SNAPSHOT.jar$ | grep java)
server_pid=(${server_process// / })
server_pid=${server_pid[1]}
if [ -n "$server_pid" ]; then
echo TTTTTTTTTTTTTTTTTTTTT
echo $server_pid
if [ -n "$server_process" ]; then
server_pid=(${server_process// / })
server_pid=${server_pid[1]}
echo $REMOTE_SSH_PASSWORD | sudo -S kill -9 $server_pid
fi
# ./run_sandbox.sh
./run_sandbox.sh

0 comments on commit 30531cc

Please sign in to comment.