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 92f586a commit 40a7fd0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/auto-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,17 @@ jobs:
run: |
scp -i private_key.pem -r deploy "${username}@${host}:~"
working-directory: JWT

- name: Remote SSH Commands
uses: fifsky/[email protected]
with:
command: |
echo $JAVA_HOME
echo $PATH
java --version
host: ${{ secrets.EC2_HOST }}
user: ${{ secrets.EC2_USERNAME }}
key: ${{ secrets.EC2_PRIVATE_KEY }}

- name: Kill current running Spring process
uses: appleboy/[email protected]
Expand Down

0 comments on commit 40a7fd0

Please sign in to comment.