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
26
.github/workflows/pages-deploy.yml
vendored
26
.github/workflows/pages-deploy.yml
vendored
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue