Skip to content

Commit 8f9592e

Browse files
authored
Update deploy.yml
1 parent f983bcd commit 8f9592e

1 file changed

Lines changed: 8 additions & 10 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,14 @@ jobs:
1919
- uses: actions/checkout@v4
2020

2121
- name: Upload files
22-
uses: SamKirkland/FTP-Deploy-Action@v4.3.4
23-
env:
24-
FTP_SERVER: ${{ secrets.SFTP_HOST }}
25-
FTP_USERNAME: ${{ secrets.SFTP_USER }}
26-
FTP_PASSWORD: ${{ secrets.SFTP_PASS }}
27-
LOCAL_DIR: ./
28-
REMOTE_DIR: /
29-
METHOD: sftp
30-
PORT: ${{ secrets.SFTP_PORT }}
31-
ARGS: --no-empty-dirs
22+
uses: wangyucode/sftp-upload-action@v2.0.2
23+
with:
24+
host: ${{ secrets.SFTP_HOST }}
25+
port: ${{ secrets.SFTP_PORT }}
26+
username: ${{ secrets.SFTP_USER }}
27+
password: ${{ secrets.SFTP_PASS }}
28+
localDir: '/'
29+
remoteDir: '/'
3230

3331
- name: Stop the Pterodactyl server
3432
shell: bash

0 commit comments

Comments
 (0)