Skip to content

Commit

Permalink
Fix GitHub Actions test build
Browse files Browse the repository at this point in the history
  • Loading branch information
ctubbsii committed Jul 11, 2024
1 parent 7cfbb95 commit 8df79e5
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions .github/workflows/jekyll.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,14 @@ jobs:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
- name: Cache gems
uses: actions/cache@v2
with:
path: ~/vendor/bundle
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: ${{ runner.os }}-gem
ruby-version: 3.3
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
- name: Upload site
uses: actions/upload-artifact@v2
with:
name: site
path: ./_site/
if-no-files-found: ignore

0 comments on commit 8df79e5

Please sign in to comment.