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:
|
||||
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: |
|
||||
ls -la
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue