From 6012ff3e9b52350c5f74d6bdea89aa116b552bf9 Mon Sep 17 00:00:00 2001 From: MG-5 Date: Fri, 27 Oct 2023 13:45:31 +0200 Subject: [PATCH] Revert "Merge pull request #46 from netz39/hotfix_jekyll-build-action" This reverts commit 293432f8a49ac9cf94d59f959bfe27923cafbb6a, reversing changes made to 130a25515bb2c1a6a00abbe60e4c6d4ecfb1690e. --- .github/workflows/jekyll-gh-pages.yml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-gh-pages.yml index f90c63a..5190b12 100644 --- a/.github/workflows/jekyll-gh-pages.yml +++ b/.github/workflows/jekyll-gh-pages.yml @@ -1,5 +1,5 @@ # Sample workflow for building and deploying a Jekyll site to GitHub Pages -name: Deploy Jekyll site to Pages +name: Deploy Jekyll with GitHub Pages dependencies preinstalled on: # Runs on pushes targeting the default branch @@ -32,22 +32,14 @@ jobs: # with: # include: "*" # exclude: "" - - name: Setup Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: '3.2' - bundler-cache: true # runs 'bundle install' and caches installed gems automatically - cache-version: 0 # Increment this number if you need to re-download cached gems - name: Setup Pages - id: pages uses: actions/configure-pages@v3 - name: Build with Jekyll - # Outputs to the './_site' directory by default - run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" - env: - JEKYLL_ENV: production + uses: actions/jekyll-build-pages@v1 + with: + source: ./ + destination: ./_site - name: Upload artifact - # Automatically uploads an artifact from the './_site' directory by default uses: actions/upload-pages-artifact@v2 # Deployment job