Update .github/workflows/pages-deploy.yml

This commit is contained in:
Aliberk Sandıkçı 2024-11-12 00:50:23 +03:00
parent a80fa4eb04
commit 9b182762ac

View file

@ -23,16 +23,18 @@ jobs:
build:
runs-on: docker
container:
image: https://git.asandikci.com/asandikci.com/web@main
image: bitnami/minideb:bookworm-arm64
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]
run: |
@ -49,23 +51,22 @@ jobs:
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: 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
# uses: https://git.asandikci.com/asandikci.com/web@main
# run: |
# ruby -v
# bundle install
# bundle exec jekyll b
# env:
# JEKYLL_ENV: "production"
- name: Build Site
run: |
ruby -v
bundle install
bundle exec jekyll b
env:
JEKYLL_ENV: "production"
# - name: Setup Pages