Skip to content

Commit

Permalink
Test Jekyll versions
Browse files Browse the repository at this point in the history
  • Loading branch information
yous committed Oct 15, 2024
1 parent 04ecbfb commit 3e25cea
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 14 deletions.
33 changes: 19 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI
on:
push:
branches:
- master
- test-jekyll

concurrency:
group: "pages"
Expand All @@ -12,6 +12,11 @@ concurrency:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
jekyll: ["< 4.0", "< 5.0"]
env:
JEKYLL_VERSION: ${{ matrix.jekyll }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -88,16 +93,16 @@ jobs:
css: true
skip_git_check: true

deploy:
needs: [build, pa11y-ci, validate]
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
# deploy:
# needs: [build, pa11y-ci, validate]
# permissions:
# pages: write
# id-token: write
# environment:
# name: github-pages
# url: ${{ steps.deployment.outputs.page_url }}
# runs-on: ubuntu-latest
# steps:
# - name: Deploy to GitHub Pages
# id: deployment
# uses: actions/deploy-pages@v4
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
source "https://rubygems.org"
gemspec

gem "jekyll", ENV["JEKYLL_VERSION"] if ENV["JEKYLL_VERSION"]
gem "webrick"

0 comments on commit 3e25cea

Please sign in to comment.