Skip to content

Commit 3f98454

Browse files
committed
Switch from SFTP to FTPS for deployment
- Server only supports FTP and FTPS, not SFTP - Changed protocol to ftps (FTP over SSL/TLS) - Reverted to SamKirkland/FTP-Deploy-Action with ftps protocol - Server: ftp.lolipop.jp
1 parent dd6fcce commit 3f98454

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/deploy.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Deploy to Web Server via SFTP
1+
name: Deploy to Web Server via FTPS
22

33
on:
44
push:
@@ -13,13 +13,16 @@ jobs:
1313
- name: Checkout code
1414
uses: actions/checkout@v3
1515

16-
- name: Deploy to SFTP server
17-
uses: wlixcc/SFTP-Deploy-Action@v1.2.4
16+
- name: Deploy to FTPS server
17+
uses: SamKirkland/FTP-Deploy-Action@v4.3.4
1818
with:
1919
server: ${{ secrets.FTP_SERVER }}
2020
username: ${{ secrets.FTP_USERNAME }}
2121
password: ${{ secrets.FTP_PASSWORD }}
22-
local_path: './*'
23-
remote_path: '/radio/QSL_card_designer/'
24-
sftp_only: true
25-
delete_remote_files: false
22+
protocol: ftps
23+
server-dir: /radio/QSL_card_designer/
24+
exclude: |
25+
**/.git*
26+
**/.git*/**
27+
**/node_modules/**
28+
.github/**

0 commit comments

Comments
 (0)