From b8ab396d3fcb3c2a4823b4e64e47bb1935e57d14 Mon Sep 17 00:00:00 2001 From: Matt Rubens Date: Fri, 31 Jan 2025 15:27:44 -0500 Subject: [PATCH] Try to fix pages gha --- .github/workflows/pages.yml | 29 ++++++++++------------------- 1 file changed, 10 insertions(+), 19 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 948ab75..35e979d 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -15,32 +15,23 @@ concurrency: cancel-in-progress: false jobs: + # Build job build: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 - - name: Setup Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: '3.1' - bundler-cache: true + uses: actions/checkout@v4 - name: Setup Pages - id: pages - uses: actions/configure-pages@v3 + uses: actions/configure-pages@v5 - name: Build with Jekyll - run: | - cd docs - bundle init - echo 'source "https://rubygems.org"' >> Gemfile - echo 'gem "github-pages", group: :jekyll_plugins' >> Gemfile - bundle install - 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 - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 + # Deployment job deploy: environment: name: github-pages @@ -50,4 +41,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 \ No newline at end of file + uses: actions/deploy-pages@v4