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 138a206 commit 972406f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@ jobs:
password: ${{ secrets.REMOTE_SSH_PASSWORD }}
port: ${{ secrets.REMOTE_SSH_PORT }}
envs: BRANCH_NAME, REMOTE_SSH_PASSWORD
# script_stop: true
script_stop: true
script: |
cd workspaces/1day1baek/back
git reset --hard HEAD
cur_git_branch=$(git branch --show-current)
if [ "$cur_git_branch" != "$BRANCH_NAME" ]; then
git switch deploy/33-BE_cd
git switch main
fi
git pull origin deploy/33-BE_cd
git pull origin main
server_process=$(ps -ef | grep OneDayOneBaek-0.0.1-SNAPSHOT.jar$ | grep java)
server_pid=(${server_process// / })
Expand Down

0 comments on commit 972406f

Please sign in to comment.