File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed
Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change 1- name : Build and Deploy via SFTP
1+ name : Build and Deploy via FTP
22
33on :
44 push :
@@ -43,13 +43,12 @@ jobs:
4343 exit 1
4444 fi
4545
46- - name : Deploy to server via SFTP
47- uses : wlixcc/SFTP -Deploy-Action@v1.2.6
46+ - name : Deploy to server via FTP
47+ uses : SamKirkland/FTP -Deploy-Action@v4.3.4
4848 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 }}
49+ server : ${{ secrets.FTP_HOST }}
50+ username : ${{ secrets.FTP_USERNAME }}
51+ password : ${{ secrets.FTP_PASSWORD }}
52+ port : ${{ secrets.FTP_PORT }}
53+ local-dir : .vitepress/dist/
54+ server-dir : monibuca/
You can’t perform that action at this time.
0 commit comments