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