From 9b182762ac48eb6c2c85ce4ff362a6b151857641 Mon Sep 17 00:00:00 2001 From: asandikci Date: Tue, 12 Nov 2024 00:50:23 +0300 Subject: [PATCH] Update .github/workflows/pages-deploy.yml --- .github/workflows/pages-deploy.yml | 51 +++++++++++++++--------------- 1 file changed, 26 insertions(+), 25 deletions(-) diff --git a/.github/workflows/pages-deploy.yml b/.github/workflows/pages-deploy.yml index 025277c..53d5255 100644 --- a/.github/workflows/pages-deploy.yml +++ b/.github/workflows/pages-deploy.yml @@ -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