Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisWooyeol committed Nov 28, 2023
1 parent 974527f commit a85640e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/springboot-on-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- name: Execute remote commands
run: |
ssh -v ${{ secrets.SPRINGBOOT_USERNAME }}@${{ secrets.SPRINGBOOT_HOST_DNS }} \
"kill -9 \$(pgrep -f springboot-0.0.1-SNAPSHOT.jar)"
"kill -9 \$(pgrep -f springboot-0.0.1-SNAPSHOT.jar) || true"
ssh -v ${{ secrets.SPRINGBOOT_USERNAME }}@${{ secrets.SPRINGBOOT_HOST_DNS }} \
"cd ${{ secrets.SPRINGBOOT_ROOT_DIR }} && pwd && \
nohup /usr/bin/java -jar ${{ secrets.SPRINGBOOT_TARGET_DIR }}/*.jar & \
Expand Down

0 comments on commit a85640e

Please sign in to comment.