From cef6f9be05f889e192777fd0cc2f6d3cd50f979f Mon Sep 17 00:00:00 2001 From: asandikci Date: Sat, 16 Nov 2024 00:20:35 +0300 Subject: [PATCH] lftp key verification --- .forgejo/workflows/build_and_test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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