Skip to content

Commit

Permalink
Fix jekyll cache in GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ctubbsii committed Jul 11, 2024
1 parent eb38a98 commit 47e7732
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/jekyll.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,13 @@ jobs:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2.2
- name: Cache gems
uses: actions/cache@v3
with:
path: ~/vendor/bundle
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: ${{ runner.os }}-gem
bundler-cache: true
- name: Test site build
run: |
ruby --version
gem install bundler
bundle config path ~/vendor/bundle
bundle install --jobs 4 --retry 3
bundle exec jekyll build

0 comments on commit 47e7732

Please sign in to comment.