We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ff88da commit b989888Copy full SHA for b989888
1 file changed
.github/workflows/deploy.yml
@@ -1,4 +1,4 @@
1
-name: Build and Deploy via SFTP
+name: Build and Deploy via FTP
2
3
on:
4
push:
@@ -43,13 +43,12 @@ jobs:
43
exit 1
44
fi
45
46
- - name: Deploy to server via SFTP
47
- uses: wlixcc/SFTP-Deploy-Action@v1.2.6
+ - name: Deploy to server via FTP
+ uses: SamKirkland/FTP-Deploy-Action@v4.3.4
48
with:
49
- username: ${{ secrets.SFTP_USERNAME }}
50
- server: ${{ secrets.SFTP_HOST }}
51
- port: ${{ secrets.SFTP_PORT }}
52
- local_path: '.vitepress/dist/*'
53
- remote_path: ${{ secrets.SFTP_SERVER_DIR }}
54
- sftp_only: true
55
- ssh_private_key: ${{ secrets.SFTP_KEY }}
+ server: ${{ secrets.FTP_HOST }}
+ username: ${{ secrets.FTP_USERNAME }}
+ password: ${{ secrets.FTP_PASSWORD }}
+ port: ${{ secrets.FTP_PORT }}
+ local-dir: .vitepress/dist/
+ server-dir: monibuca/
0 commit comments