Skip to content

Commit

Permalink
Fix GitHub Actions for Jekyll 4.x daattali#1276 in beautiful-jekyll
Browse files Browse the repository at this point in the history
  • Loading branch information
JunhaoHuang committed Sep 8, 2024
1 parent 24980c7 commit 9c03701
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 12 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ jobs:
name: Build Jekyll
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the site in the jekyll/builder container
run: |
export JEKYLL_VERSION=3.8
docker run \
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \
-e PAGES_REPO_NWO=${{ github.repository }} \
jekyll/builder:$JEKYLL_VERSION /bin/bash -c "chmod 777 /srv/jekyll && jekyll build --future"
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
- name: Install dependencies
run: bundle install && bundle exec appraisal install
- name: Build site
run: bundle exec appraisal jekyll build --future
6 changes: 6 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
appraise "jekyll-3" do
gem "jekyll", "3.9.4"
end
appraise "jekyll-4" do
gem "jekyll", "4.3.3"
end
10 changes: 6 additions & 4 deletions beautiful-jekyll-theme.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |spec|
spec.name = "beautiful-jekyll-theme"
spec.version = "5.0.0"
spec.version = "6.0.1"
spec.authors = ["Dean Attali"]
spec.email = ["[email protected]"]

Expand All @@ -17,12 +17,14 @@ Gem::Specification.new do |spec|
"documentation_uri" => "https://github.com/daattali/beautiful-jekyll#readme"
}

spec.add_runtime_dependency "jekyll", "~> 3.8"
spec.add_runtime_dependency "jekyll", ">= 3.9.3"
spec.add_runtime_dependency "jekyll-paginate", "~> 1.1"
spec.add_runtime_dependency "jekyll-sitemap", "~> 1.4"
spec.add_runtime_dependency "kramdown-parser-gfm", "~> 1.1"
spec.add_runtime_dependency "kramdown", "~> 2.3.0"
spec.add_runtime_dependency "kramdown", "~> 2.3"
spec.add_runtime_dependency "webrick", "~> 1.8"

spec.add_development_dependency "bundler", ">= 1.16"
spec.add_development_dependency "rake", "~> 12.0"
end
spec.add_development_dependency "appraisal", "~> 2.5"
end

0 comments on commit 9c03701

Please sign in to comment.