Skip to content

Commit

Permalink
Update GitHub Actions builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ctubbsii committed Jul 25, 2024
1 parent f4d48af commit 0fe186a
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/jekyll.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,29 +27,21 @@ on:

jobs:
jekyll:
timeout-minutes: 10
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Ruby
uses: actions/setup-ruby@v1
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.2.2
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
uses: actions/upload-artifact@v4
with:
name: site
path: ./_site/
Expand Down

0 comments on commit 0fe186a

Please sign in to comment.