diff --git a/.forgejo/workflows/build_and_test.yml b/.forgejo/workflows/build_and_test.yml index 835bf88..b971c73 100644 --- a/.forgejo/workflows/build_and_test.yml +++ b/.forgejo/workflows/build_and_test.yml @@ -95,4 +95,4 @@ jobs: sshpass -f ~/.passwd sftp -oBatchMode=no -o StrictHostKeyChecking=accept-new -b - ${{ secrets.SFTP_USERNAME }}@${{ vars.SFTP_HOST }} << ! bye ! - lftp --user ${{ secrets.SFTP_USERNAME }} --password ${{ secrets.SFTP_PASSWORD }} sftp://${{ vars.SFTP_HOST }} -e "rm -r www/; mirror -R . www/" \ No newline at end of file + lftp --user ${{ secrets.SFTP_USERNAME }} --password ${{ secrets.SFTP_PASSWORD }} sftp://${{ vars.SFTP_HOST }} -e "mirror -R --delete . www/" \ No newline at end of file