Skip to content

Commit b989888

Browse files
committed
update deplay.yml
1 parent 5ff88da commit b989888

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.github/workflows/deploy.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build and Deploy via SFTP
1+
name: Build and Deploy via FTP
22

33
on:
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/

0 commit comments

Comments
 (0)