Skip to content

Upgrading ruby and jekyll versions #3557

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: gh-pages
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
if : github.event.action != 'closed'
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
ruby-version: 3.2.2
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
# We then check if we can build our Jekyll site (all this logic is built-in with Jekyll and this prevents us from merging in any syntax errors).
- name: Jekyll build
Expand All @@ -29,7 +29,7 @@ jobs:
bundle exec jekyll build
# Next we check all the links in our site to make sure we aren't pushing up broken links.
- name: Check HTML
uses: zoeleblanc/htmlproofer@master
uses: chabad360/htmlproofer@master
if : github.event.action != 'closed'
with:
directory: "./_site"
Expand Down
27 changes: 27 additions & 0 deletions .htmlproofer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
assume_extension: true
check_img_alt: false
only_4xx: true
http_status_ignore:
- 429
- 403
- 400
url_ignore:
- /http:\/\/www.gutenberg.org\/.*?/
- /https:\/\/github.com\/programminghistorian\/.*?/
- /https:\/\/github.com\/orgs\/programminghistorian\/.*?/
- /\#/
- /espanol/
- /deprecated/
- /collection.britishmuseum.org/
- /analytics.hathitrust.org/
- /fr.wikipedia.org\/wiki/
- /https:\/\/web.archive.org\/web\/20180831094856\/http:\/\/www.dlsi.ua.es\/~borja\/riilua\/6.TopicModeling_v02.pdf/
directory_ignore:
- /assets/
- /retired/
- /retirada/
- /retrait/
- /posts/
ignore_elements:
- pre
- code
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.6.2
3.2.2
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ source 'https://rubygems.org'
gem 'github-pages'
gem 'jekyll-redirect-from'
gem 'jekyll-paginate'
gem 'html-proofer', "~> 3.0", "< 3.18"
gem 'html-proofer'
Loading