Update .github/workflows/pages-deploy.yml
This commit is contained in:
parent
a80fa4eb04
commit
9b182762ac
1 changed files with 26 additions and 25 deletions
49
.github/workflows/pages-deploy.yml
vendored
49
.github/workflows/pages-deploy.yml
vendored
|
@ -23,17 +23,19 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: https://git.asandikci.com/asandikci.com/web@main
|
image: bitnami/minideb:bookworm-arm64
|
||||||
steps:
|
steps:
|
||||||
# - name: Setup System Resources & Settings
|
|
||||||
# run: |
|
|
||||||
# # echo "Europe/Istanbul" | tee /etc/timezone
|
|
||||||
# # dpkg-reconfigure --frontend noninteractive tzdata
|
|
||||||
# apt update -y
|
|
||||||
# apt upgrade -y
|
|
||||||
# apt install sshpass ruby jekyll ruby-html-proofer -y
|
|
||||||
|
|
||||||
|
|
||||||
|
- name: Setup System Resources & Settings
|
||||||
|
run: |
|
||||||
|
# echo "Europe/Istanbul" | tee /etc/timezone
|
||||||
|
# dpkg-reconfigure --frontend noninteractive tzdata
|
||||||
|
apt update -y
|
||||||
|
apt upgrade -y
|
||||||
|
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]
|
- name: Health Check [CI TEST]
|
||||||
run: |
|
run: |
|
||||||
ls -la
|
ls -la
|
||||||
|
@ -49,23 +51,22 @@ jobs:
|
||||||
bye
|
bye
|
||||||
!
|
!
|
||||||
|
|
||||||
# - name: Checkout
|
- name: Checkout
|
||||||
# uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
# with:
|
with:
|
||||||
# fetch-depth: 0
|
fetch-depth: 0
|
||||||
# github-server-url: 'https://git.asandikci.com'
|
github-server-url: 'https://git.asandikci.com'
|
||||||
# # submodules: true
|
# submodules: true
|
||||||
# # If using the 'assets' git submodule from Chirpy Starter, uncomment above
|
# If using the 'assets' git submodule from Chirpy Starter, uncomment above
|
||||||
# # (See: https://github.com/cotes2020/chirpy-starter/tree/main/assets)
|
# (See: https://github.com/cotes2020/chirpy-starter/tree/main/assets)
|
||||||
|
|
||||||
# - name: Build Site
|
- name: Build Site
|
||||||
# uses: https://git.asandikci.com/asandikci.com/web@main
|
run: |
|
||||||
# run: |
|
ruby -v
|
||||||
# ruby -v
|
bundle install
|
||||||
# bundle install
|
bundle exec jekyll b
|
||||||
# bundle exec jekyll b
|
env:
|
||||||
# env:
|
JEKYLL_ENV: "production"
|
||||||
# JEKYLL_ENV: "production"
|
|
||||||
|
|
||||||
|
|
||||||
# - name: Setup Pages
|
# - name: Setup Pages
|
||||||
|
|
Loading…
Reference in a new issue