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