From 61527602908fd293be8f05966c1671258eccf289 Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 27 Mar 2024 01:53:01 +0100 Subject: [PATCH 1/2] Second approch how to build with Jekyll --- .github/workflows/jekyll-gh-pages.yml | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-gh-pages.yml index 26adbcc..fbf142c 100644 --- a/.github/workflows/jekyll-gh-pages.yml +++ b/.github/workflows/jekyll-gh-pages.yml @@ -35,21 +35,17 @@ jobs: # with: # include: "*" # exclude: "" - - - name: "Setup Ruby" - uses: ruby/setup-ruby@v1 - with: - bundler-cache: true - cache-version: 0 # Increment this number if you need to re-download cached gems. - - - name: "Setup Pages" - id: pages - uses: actions/configure-pages@v4 - - - name: "Build with Jekyll" - run: bundle exec jekyll build --trace --baseurl "${{ steps.pages.outputs.base_path }}" - env: - JEKYLL_ENV: production + - name: Build the site in the jekyll/builder container + run: | + docker run \ + -v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \ + jekyll/builder:latest /bin/bash -c "chmod -R 777 /srv/jekyll && jekyll build --future" + + - name: Install packages + continue-on-error: true + run: | + docker pull sylhare/type-on-strap + docker pull sylhare/jekyll - name: "Upload artifact" uses: actions/upload-pages-artifact@v3 From a8e3a4b30e37d2417d0a450460af95113b114c32 Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 27 Mar 2024 01:54:03 +0100 Subject: [PATCH 2/2] Delete .ruby-version --- .ruby-version | 1 - 1 file changed, 1 deletion(-) delete mode 100644 .ruby-version diff --git a/.ruby-version b/.ruby-version deleted file mode 100644 index 15a2799..0000000 --- a/.ruby-version +++ /dev/null @@ -1 +0,0 @@ -3.3.0