Skip to content

Commit 2f80884

Browse files
committed
FIX: Fix scp target
1 parent 3856f06 commit 2f80884

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ jobs:
3333
run: cargo build --release
3434

3535
- name: Deploy to VPS
36-
uses: appleboy/scp-action@v0.1.3
36+
uses: appleboy/scp-action@v0.1.7
3737
with:
3838
host: ${{ secrets.VPS_HOST }}
3939
username: ${{ secrets.VPS_USER }}
4040
key: ${{ secrets.VPS_SSH_KEY }}
4141
source: 'target/release/admin-api-rust'
42-
target: '/home/deploy/admin-api-rust/target/release/admin-api-rust'
42+
target: '/home/deploy/admin-api-rust'
4343

4444
- name: Restart service
4545
uses: appleboy/ssh-action@v1.2.0

0 commit comments

Comments
 (0)