-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #101 from open-sdg/use-ruby-3
Use Ruby 3
- Loading branch information
Showing
4 changed files
with
10 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |