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

This commit is contained in:
Aliberk Sandıkçı 2024-11-11 23:09:48 +03:00
parent 2ac5780dd7
commit 45df394a6c

View file

@ -36,19 +36,19 @@ jobs:
# - name: Health Check [CI TEST]
- uses: https://git.asandikci.com/asandikci.com/web@main
- run: |
ls -la
pwd
whoami
echo "this is a text file" >> index.html
date >> index.html
cat index.html
echo '${{ secrets.SFTP_PASSWORD }}' > ~/.passwd
chmod 0400 ~/.passwd
sshpass -f ~/.passwd sftp -oBatchMode=no -o StrictHostKeyChecking=accept-new -b - ${{ secrets.SFTP_USERNAME }}@${{ vars.SFTP_HOST }} << !
put index.html www/index.html
bye
!
ls -la
pwd
whoami
echo "this is a text file" >> index.html
date >> index.html
cat index.html
echo '${{ secrets.SFTP_PASSWORD }}' > ~/.passwd
chmod 0400 ~/.passwd
sshpass -f ~/.passwd sftp -oBatchMode=no -o StrictHostKeyChecking=accept-new -b - ${{ secrets.SFTP_USERNAME }}@${{ vars.SFTP_HOST }} << !
put index.html www/index.html
bye
!
# - name: Checkout
# uses: actions/checkout@v4
# with: