Skip to content

Commit 88446e2

Browse files
committed
scp debug true
1 parent 4c4d92d commit 88446e2

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,15 @@ jobs:
7373
- name: Upload binary via SCP
7474
uses: appleboy/scp-action@v0.1.6
7575
with:
76-
host: ${{ secrets.SSH_HOST }}
76+
host: ${{ secrets.SSH_HOST }}
7777
username: ${{ secrets.SSH_USERNAME }}
7878
key: ${{ secrets.SSH_PRIVATE_KEY }}
7979
port: ${{ secrets.PORT }}
8080
source: "target/release/bot"
81-
target: "/home/${{ secrets.SSH_USERNAME }}/uri2json_bot/uri2json"
81+
target: "/home/${{ secrets.SSH_USERNAME }}/uri2json_bot/"
82+
strip_components: 2
8283
overwrite: true
83-
84+
debug: true
8485
- name: Restart application via SSH
8586
uses: appleboy/ssh-action@v0.1.10
8687
with:

0 commit comments

Comments
 (0)