From df3e411f6a9933fc179681be8681024d4d0f754d Mon Sep 17 00:00:00 2001 From: asandikci Date: Mon, 11 Nov 2024 22:09:43 +0300 Subject: [PATCH] Update .github/workflows/pages-deploy.yml --- .github/workflows/pages-deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pages-deploy.yml b/.github/workflows/pages-deploy.yml index dace37c..e39edc8 100644 --- a/.github/workflows/pages-deploy.yml +++ b/.github/workflows/pages-deploy.yml @@ -28,7 +28,7 @@ jobs: run: | apt update -y apt upgrade -y - apt install openssh-client openssh-server sshpass ruby jekyll -y + apt install openssh-client sshpass ruby jekyll -y - name: Checkout uses: actions/checkout@v4 @@ -46,6 +46,7 @@ jobs: whoami echo "this is a text file" >> index.html date >> index.html + cat index.html export SSHPASS= ${{ secrets.SFTP_PASSWORD }} sshpass -e sftp -oBatchMode=no -b - ${{ secrets.SFTP_USERNAME }}@${{ vars.SFTP_HOST }} << ! put index.html www/index.html