Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonidIvanov123 committed Aug 4, 2024
1 parent 81ae1fd commit d8c953c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/dev-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,14 @@ jobs:
run: ls -la target/

- name: Copy modules to remote server
uses: garygrossgarten/github-action-scp@release
uses: appleboy/ssh-action@master
with:
local: target/*.jar
remote: /deploy/artifacts/app.jar
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USER }}
password: ${{ secrets.SSH_PASSWORD }}
key: ${{ secrets.SSH_KEY }}
port: 22
source: "target/*.jar"
target: "/deploy/artifacts/app.jar"

- name: Restart service
uses: appleboy/ssh-action@master
Expand Down

0 comments on commit d8c953c

Please sign in to comment.