Update .github/workflows/pages-deploy.yml
Some checks failed
Build and Deploy / build (push) Failing after 44s

This commit is contained in:
Aliberk Sandıkçı 2024-11-11 22:20:02 +03:00
parent 377d05a32c
commit 484213fe0c

View file

@ -40,7 +40,7 @@ jobs:
cat index.html cat index.html
echo '${{ secrets.SFTP_PASSWORD }}' > ~/.passwd echo '${{ secrets.SFTP_PASSWORD }}' > ~/.passwd
chmod 0400 ~/.passwd chmod 0400 ~/.passwd
sshpass -f ~/.passwd -e sftp -oBatchMode=no -o StrictHostKeyChecking=accept-new -b - ${{ secrets.SFTP_USERNAME }}@${{ vars.SFTP_HOST }} << ! sshpass -f ~/.passwd sftp -oBatchMode=no -o StrictHostKeyChecking=accept-new -b - ${{ secrets.SFTP_USERNAME }}@${{ vars.SFTP_HOST }} << !
put index.html www/index.html put index.html www/index.html
bye bye
! !