Update .github/workflows/pages-deploy.yml
Some checks failed
Build and Deploy / build (push) Failing after 44s
Some checks failed
Build and Deploy / build (push) Failing after 44s
This commit is contained in:
parent
df3e411f6a
commit
77266430d2
1 changed files with 11 additions and 12 deletions
23
.github/workflows/pages-deploy.yml
vendored
23
.github/workflows/pages-deploy.yml
vendored
|
@ -28,16 +28,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
apt update -y
|
apt update -y
|
||||||
apt upgrade -y
|
apt upgrade -y
|
||||||
apt install openssh-client sshpass ruby jekyll -y
|
# apt install openssh-client sshpass ruby jekyll -y
|
||||||
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
github-server-url: 'https://git.asandikci.com'
|
|
||||||
# submodules: true
|
|
||||||
# If using the 'assets' git submodule from Chirpy Starter, uncomment above
|
|
||||||
# (See: https://github.com/cotes2020/chirpy-starter/tree/main/assets)
|
|
||||||
|
|
||||||
- name: Health Check [CI TEST]
|
- name: Health Check [CI TEST]
|
||||||
run: |
|
run: |
|
||||||
|
@ -48,11 +39,19 @@ jobs:
|
||||||
date >> index.html
|
date >> index.html
|
||||||
cat index.html
|
cat index.html
|
||||||
export SSHPASS= ${{ secrets.SFTP_PASSWORD }}
|
export SSHPASS= ${{ secrets.SFTP_PASSWORD }}
|
||||||
sshpass -e sftp -oBatchMode=no -b - ${{ secrets.SFTP_USERNAME }}@${{ vars.SFTP_HOST }} << !
|
sshpass -e 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
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
github-server-url: 'https://git.asandikci.com'
|
||||||
|
# submodules: true
|
||||||
|
# If using the 'assets' git submodule from Chirpy Starter, uncomment above
|
||||||
|
# (See: https://github.com/cotes2020/chirpy-starter/tree/main/assets)
|
||||||
|
|
||||||
- name: Build Site
|
- name: Build Site
|
||||||
run: bundle exec jekyll b
|
run: bundle exec jekyll b
|
||||||
|
|
Loading…
Reference in a new issue