Skip to content

Commit eb2d92a

Browse files
ulfarssonclaude
andcommitted
Fix GitHub Actions to use bundler with updated dependencies
- Switch from manual gem installation to bundler-cache approach - Use 'bundle exec jekyll build' to respect Gemfile.lock versions - Leverage ruby/setup-ruby bundler caching for faster builds - Resolves Jekyll 4.4.1 and dependency version mismatches 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 6f7a759 commit eb2d92a

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

.github/workflows/jekyll.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,24 +32,15 @@ jobs:
3232
uses: ruby/setup-ruby@v1
3333
with:
3434
ruby-version: '3.3.9'
35-
bundler: none # Don't install bundler at all
36-
37-
- name: Install dependencies
38-
run: |
39-
gem install jekyll -v 4.4.0
40-
gem install minima -v 2.5.2
41-
gem install jekyll-feed -v 0.17.0
42-
gem install jekyll-sitemap -v 1.4.0
43-
gem install jekyll-seo-tag -v 2.8.0
44-
gem install webrick -v 1.9.1
35+
bundler-cache: true
4536

4637
- name: Setup Pages
4738
id: pages
4839
uses: actions/configure-pages@v5
4940

5041
- name: Build with Jekyll
5142
# Outputs to the './_site' directory by default
52-
run: jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
43+
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
5344
env:
5445
JEKYLL_ENV: production
5546

0 commit comments

Comments
 (0)