Update .forgejo/workflows/build_and_test.yml
Some checks failed
Build and Deploy Test Version (with/without Drafts) - next.asandikci.com / build-drafts-and-deploy (push) Failing after 1m3s

This commit is contained in:
Aliberk Sandıkçı 2024-11-16 00:17:34 +03:00
parent e88eab0942
commit 3b99e02782

View file

@ -88,7 +88,7 @@ jobs:
cp -rfv ../web/_site .
ls -la
lftp --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" --user ${{ secrets.SFTP_USERNAME }} --password ${{ secrets.SFTP_PASSWORD }} sftp://${{ vars.SFTP_HOST }} -e "rm -r www/; mirror -R . www/"
# echo '${{ secrets.SFTP_PASSWORD }}' > ~/.passwd