We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bae97ad commit c0027deCopy full SHA for c0027de
.github/workflows/deploy.yml
@@ -44,13 +44,11 @@ jobs:
44
fi
45
46
- name: Deploy to server via SFTP
47
- uses: appleboy/[email protected]
+ uses: milanmk/actions-file-deployer@master
48
with:
49
- host: ${{ secrets.SFTP_HOST }}
50
- username: ${{ secrets.SFTP_USERNAME }}
51
- key: ${{ secrets.SFTP_KEY }}
52
- port: ${{ secrets.SFTP_PORT }}
53
- source: ".vitepress/dist/"
54
- target: ${{ secrets.SFTP_SERVER_DIR }}
55
- strip_components: 2
56
- rm: true
+ remote-protocol: "sftp"
+ remote-host: ${{ secrets.SFTP_HOST }}
+ remote-user: ${{ secrets.SFTP_USERNAME }}
+ ssh-private-key: ${{ secrets.SFTP_KEY }}
+ remote-path: ${{ secrets.SFTP_SERVER_DIR }}
+ local-path: ".vitepress/dist/"
0 commit comments