Skip to content

Commit 896ad75

Browse files
authored
Replace scp-action with github-action-scp
1 parent ea66ba5 commit 896ad75

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,13 @@ jobs:
2222
- uses: actions/upload-artifact@v2
2323
with:
2424
path: build/libs/*.jar
25-
# TODO remove
26-
- name: Display structure of downloaded files
27-
run: ls -R
28-
working-directory: build/libs
2925
# Upload from data to production server
30-
- uses: actions/checkout@v2
31-
- name: Copy app to server
32-
uses: appleboy/[email protected]
26+
- name: Upload app to server
27+
uses: garygrossgarten/[email protected]
3328
with:
3429
host: ${{ secrets.SSH_HOST }}
3530
username: ${{ secrets.SSH_USER }}
3631
password: ${{ secrets.SSH_PASS }}
3732
port: ${{ secrets.SSH_PORT }}
38-
source: "build/libs/"
39-
target: "bots/similar-images-bot"
33+
local: "build/libs"
34+
remote: "bots/similar-images-bot"

0 commit comments

Comments
 (0)