We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0027de commit ecdfdafCopy full SHA for ecdfdaf
.github/workflows/deploy.yml
@@ -44,11 +44,12 @@ jobs:
44
fi
45
46
- name: Deploy to server via SFTP
47
- uses: milanmk/actions-file-deployer@master
+ uses: wlixcc/[email protected]
48
with:
49
- remote-protocol: "sftp"
50
- remote-host: ${{ secrets.SFTP_HOST }}
51
- remote-user: ${{ secrets.SFTP_USERNAME }}
52
- ssh-private-key: ${{ secrets.SFTP_KEY }}
53
- remote-path: ${{ secrets.SFTP_SERVER_DIR }}
54
- local-path: ".vitepress/dist/"
+ username: ${{ secrets.SFTP_USERNAME }}
+ server: ${{ secrets.SFTP_HOST }}
+ port: ${{ secrets.SFTP_PORT }}
+ local_path: '.vitepress/dist/*'
+ remote_path: ${{ secrets.SFTP_SERVER_DIR }}
+ sftp_only: true
55
+ ssh_private_key: ${{ secrets.SFTP_KEY }}
0 commit comments