Upt
Some checks failed
Build and Deploy / build (push) Failing after 1m58s

This commit is contained in:
Aliberk Sandıkçı 2024-11-12 00:52:44 +03:00
parent 9b182762ac
commit 10482e2043

View file

@ -25,8 +25,6 @@ jobs:
container:
image: bitnami/minideb:bookworm-arm64
steps:
- name: Setup System Resources & Settings
run: |
# echo "Europe/Istanbul" | tee /etc/timezone
@ -36,20 +34,20 @@ jobs:
apt install sshpass ruby jekyll ruby-html-proofer -y
# no need to these after using own docker image! (see asandikci/DockerTests)
- name: Health Check [CI TEST]
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
!
- name: Health Check [CI TEST]
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
!
- name: Checkout
uses: actions/checkout@v4