diff --git a/.forgejo/workflows/build_and_test.yml b/.forgejo/workflows/build_and_test.yml index 904f773..5b18ecb 100644 --- a/.forgejo/workflows/build_and_test.yml +++ b/.forgejo/workflows/build_and_test.yml @@ -88,7 +88,7 @@ jobs: cp -rfv ../web/_site . ls -la - lftp -c "set sftp:auto-confirm yes" --user ${{ secrets.SFTP_USERNAME }} --password ${{ secrets.SFTP_PASSWORD }} sftp://${{ vars.SFTP_HOST }} -e "rm -r www/; mirror -R . www/" + lftp -c "set sftp:auto-confirm yes; set sftp:connect-program \"ssh -a -x -o UserKnownHostsFile=/dev/null\"; open --user ${{ secrets.SFTP_USERNAME }} --password ${{ secrets.SFTP_PASSWORD }}sftp://${{ vars.SFTP_HOST }}; rm -r www/; mirror -R . www/; quit" # echo '${{ secrets.SFTP_PASSWORD }}' > ~/.passwd