Skip to content

Commit

Permalink
Use Ruby 3
Browse files Browse the repository at this point in the history
  • Loading branch information
brockfanning committed Mar 7, 2024
1 parent ebd817d commit ff62fa9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-to-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Set up Ruby 2.6
- name: Set up Ruby 3.2
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.6'
ruby-version: '3.2.2'
- name: Build the site
run: |
gem install bundler
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy-to-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ jobs:

steps:
- uses: actions/checkout@v1
- name: Set up Ruby 2.6
- name: Set up Ruby 3.2
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.6'
ruby-version: '3.2.2'
- name: Inject slug/short variables
uses: rlespinasse/[email protected]
- name: Set the REPOSITORY_URL_SITE environment variable
run: echo "REPOSITORY_URL_SITE=https://github.com/$GITHUB_REPOSITORY" >> $GITHUB_ENV
- name: Build the site
run: |
gem install bundler -v 2.4.22
gem install bundler
bundle config path vendor/bundle
bundle install
bundle exec jekyll build --baseurl=/${{ env.GITHUB_REPOSITORY_NAME_PART }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:

steps:
- uses: actions/checkout@v1
- name: Set up Ruby 2.6
- name: Set up Ruby 3.2
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.6'
ruby-version: '3.2.2'
- name: Inject slug/short variables
uses: rlespinasse/[email protected]
- name: Set the REPOSITORY_URL_SITE environment variable
Expand Down
4 changes: 3 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
source "https://rubygems.org"

gem "jekyll", "3.8.4"
gem "jekyll", "3.9.3"
gem "html-proofer", "3.19.4"
gem "jekyll-remote-theme"
gem "deep_merge"
gem "jekyll-open-sdg-plugins", "2.3.0"
gem "kramdown-parser-gfm"
gem "webrick"

0 comments on commit ff62fa9

Please sign in to comment.