lftp key verification
Some checks failed
Build and Deploy Test Version (with/without Drafts) - next.asandikci.com / build-drafts-and-deploy (push) Failing after 1m1s

This commit is contained in:
Aliberk Sandıkçı 2024-11-16 00:20:35 +03:00
parent 3b99e02782
commit cef6f9be05

View file

@ -88,7 +88,7 @@ jobs:
cp -rfv ../web/_site . cp -rfv ../web/_site .
ls -la 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 # echo '${{ secrets.SFTP_PASSWORD }}' > ~/.passwd