From edc2fb78602b0724a566e08ef30047206dd5024c Mon Sep 17 00:00:00 2001 From: vitrinekast Date: Tue, 7 Jan 2025 12:20:18 +0100 Subject: [PATCH] diff workflow --- .gitea/workflows/demo.yaml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index c994cc5..01bb3a3 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -26,15 +26,14 @@ jobs: run: python app.py - name: Push the changes to the FTP server - uses: https://github.com/SamKirkland/FTP-Deploy-Action@v4.3.4 + uses: https://github.com/pressidium/lftp-mirror-action@v1 with: - server: ${{ secrets.FTP_SERVER }} - username: ${{ secrets.FTP_USERNAME }} - password: ${{ secrets.FTP_PASSWORD }} + host: ${{ secrets.FTP_SERVER }} + user: ${{ secrets.FTP_USERNAME }} + pass: ${{ secrets.FTP_PASSWORD }} port: 7008 - local-dir: dist/ - dry-run: true - log-level: verbose - server-dir: /vitrinekast/temp-action/ + localDir: 'dist/' + options: '--verbose' + removeDir: '/vitrinekast/temp-action/' - run: echo "🍏 This job's status is ${{ job.status }}." \ No newline at end of file