From f3a25f7a46e1ff22ce8f949760727c869cdba929 Mon Sep 17 00:00:00 2001 From: Ivan Li Date: Sun, 10 Sep 2023 13:45:05 +0000 Subject: [PATCH] =?UTF-8?q?build(ci):=20=E6=9B=B4=E6=8D=A2=20FTP=20action.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-and-deploy-by-ftp.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-and-deploy-by-ftp.yaml b/.github/workflows/build-and-deploy-by-ftp.yaml index 58c8e49..96f3fed 100644 --- a/.github/workflows/build-and-deploy-by-ftp.yaml +++ b/.github/workflows/build-and-deploy-by-ftp.yaml @@ -24,11 +24,10 @@ jobs: - run: yarn build - name: 📂 Sync files - uses: https://github.com/SamKirkland/FTP-Deploy-Action@v4.3.4 + uses: https://github.com/airvzxf/ftp-deployment-action@latest with: server: ${{ secrets.ftp_server }} - username: ${{ secrets.ftp_username }} + user: ${{ secrets.ftp_username }} password: ${{ secrets.ftp_password }} - protocol: ftp - server-dir: ./WEB/ - local-dir: ./out/ + remote_dir: ./WEB/ + local_dir: ./out/