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 24, 2024
1 parent 70e8911 commit a0bf08f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/auto-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ jobs:
mkdir ~/.ssh
ssh-keyscan -t rsa $host > ~/.ssh/known_hosts
- name: Upload deployment scripts
run: scp -i private_key.pem -r deploy "${username}@${host}:~"
run: |
ls
scp -i private_key.pem -r deploy "${username}@${host}:~"
- name: Kill current running Spring process
run: |
ssh -i private_key.pem "${username}@${host}" << EOF
Expand Down

0 comments on commit a0bf08f

Please sign in to comment.