Skip to content

Commit b9dfb31

Browse files
committed
feat: FTP deploy
1 parent a0a2f51 commit b9dfb31

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/upload.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,12 @@ jobs:
2626
run: bun run build
2727

2828
- name: Upload via FTP
29-
uses: sebastianpopp/ftp-action@releases/v2
29+
uses: SamKirkland/FTP-Deploy-Action@v4.3.5
3030
with:
31-
host: ${{ secrets.FTP_SERVER }}
32-
user: ${{ secrets.FTP_USERNAME }}
31+
server: ${{ secrets.FTP_SERVER }}
32+
username: ${{ secrets.FTP_USERNAME }}
3333
password: ${{ secrets.FTP_PASSWORD }}
34-
localDir: ./dist/
35-
remoteDir: ${{ secrets.FTP_SERVER_DIR }}
36-
options: '--delete'
34+
local-dir: ./dist/
35+
server-dir: ${{ secrets.FTP_SERVER_DIR }}
36+
dangerous-clean-slate: false
37+
protocol: ftp

0 commit comments

Comments
 (0)