Update .github/workflows/pages-deploy.yml
Some checks failed
Build and Deploy / build (push) Failing after 3m0s
Some checks failed
Build and Deploy / build (push) Failing after 3m0s
This commit is contained in:
parent
2ac5780dd7
commit
45df394a6c
1 changed files with 13 additions and 13 deletions
24
.github/workflows/pages-deploy.yml
vendored
24
.github/workflows/pages-deploy.yml
vendored
|
@ -36,18 +36,18 @@ 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
|
||||
|
|
Loading…
Reference in a new issue