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] # - name: Health Check [CI TEST]
- uses: https://git.asandikci.com/asandikci.com/web@main - uses: https://git.asandikci.com/asandikci.com/web@main
- run: | - run: |
ls -la ls -la
pwd pwd
whoami whoami
echo "this is a text file" >> index.html echo "this is a text file" >> index.html
date >> index.html date >> index.html
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 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
! !
# - name: Checkout # - name: Checkout
# uses: actions/checkout@v4 # uses: actions/checkout@v4
# with: # with: