Skip to content

Commit

Permalink
Update auto-deployment.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wwingyou authored Mar 25, 2024
1 parent 6633e7d commit 501b90e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/auto-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ jobs:
- name: Kill current running Spring process
run: |
ssh -i private_key.pem "${username}@${host}"
./deploy/shutdown.sh
./deploy/backup.sh
deploy/shutdown.sh
deploy/backup.sh
working-directory: JWT
- name: Send jar file to EC2
run: |
Expand All @@ -65,5 +65,5 @@ jobs:
- name: Run new uploaded jar
run: |
ssh -i private_key.pem "${username}@${host}"
./deploy/startup.sh server.jar
deploy/startup.sh
working-directory: JWT

0 comments on commit 501b90e

Please sign in to comment.