Skip to content

Commit

Permalink
last
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonidIvanov123 committed Aug 5, 2024
1 parent c90847d commit 776e1b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dev-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ jobs:
- name: List target directory with artifacts
run: ls -la target/

- name: copy artifact to server
- name: Copy jar-artifact to server
uses: appleboy/scp-action@v0.1.7
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USER }}
key: ${{ secrets.SSH_KEY }}
port: 22
source: target/*.jar
target: /deploy/artifacts/app.jar
source: "target/*.jar"
target: "/deploy/artifacts/app.jar"

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

0 comments on commit 776e1b4

Please sign in to comment.