Skip to content

Commit 0268d88

Browse files
committed
actions update
1 parent c3726e8 commit 0268d88

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/deploy.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
run: npm run build
2323

2424
- name: Deploy to VPS
25-
uses: appleboy/scp-action@master
25+
uses: wlixcc/SFTP-Deploy-Action@v1.2.4
2626
with:
27-
host: ${{ secrets.HOST }}
27+
server: ${{ secrets.HOST }}
2828
username: ${{ secrets.USERNAME }}
29-
key: ${{ secrets.SSH_KEY }}
30-
source: "dist/"
31-
target: "/var/www/blockbuster"
29+
ssh_private_key: ${{ secrets.SSH_KEY }}
30+
local_path: './dist/*'
31+
remote_path: '/var/www/blockbuster'

0 commit comments

Comments
 (0)