This commit is contained in:
parent
9b182762ac
commit
10482e2043
1 changed files with 14 additions and 16 deletions
30
.github/workflows/pages-deploy.yml
vendored
30
.github/workflows/pages-deploy.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue