From 10482e20434787aa608099d78079eecdecf99f95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aliberk=20Sand=C4=B1k=C3=A7=C4=B1?= Date: Tue, 12 Nov 2024 00:52:44 +0300 Subject: [PATCH] Upt --- .github/workflows/pages-deploy.yml | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/.github/workflows/pages-deploy.yml b/.github/workflows/pages-deploy.yml index 53d5255..0d2d1b8 100644 --- a/.github/workflows/pages-deploy.yml +++ b/.github/workflows/pages-deploy.yml @@ -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