diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 01bb3a3..df6615e 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -26,14 +26,14 @@ jobs: run: python app.py - name: Push the changes to the FTP server - uses: https://github.com/pressidium/lftp-mirror-action@v1 + uses: https://github.com/wangyucode/sftp-upload-action@v2.0.4 with: host: ${{ secrets.FTP_SERVER }} - user: ${{ secrets.FTP_USERNAME }} - pass: ${{ secrets.FTP_PASSWORD }} + username: ${{ secrets.FTP_USERNAME }} + password: ${{ secrets.FTP_PASSWORD }} port: 7008 - localDir: 'dist/' - options: '--verbose' - removeDir: '/vitrinekast/temp-action/' + localDir: 'dist' + dryRun: true + remoteDir: '/vitrinekast/temp-action/' - run: echo "🍏 This job's status is ${{ job.status }}." \ No newline at end of file