Skip to content

Commit

Permalink
fix: separate html-proofer gem from Gemfile (#73)
Browse files Browse the repository at this point in the history
* fix: separate html-proofer gem from Gemfile

* debug: remove .ruby-version (w/netlify changes)

Netlify config changes:
 - jekyll build -> bundle exec jekyll build
 - update node version to 20.x (from 10.x)

* Revert "debug: remove .ruby-version (w/netlify changes)"

This reverts commit 3f0d091.

* bundle, not gem

* debug: try ruby 3.3.3

* debug: bundle process
  • Loading branch information
glasnt authored Nov 2, 2024
1 parent 84e8c9f commit 595d299
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: htmlproofer

# Validates all links are up to date on the website

on:
push:
branches:
Expand All @@ -11,7 +14,7 @@ on:

jobs:
checklinks:
name: Linux
name: Check links
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand All @@ -23,10 +26,11 @@ jobs:
run: |
gem update --system --no-document
gem update bundler --no-document
gem install jekyll bundler
bundle install
- name: build jekyll
run: bundle exec jekyll build
- name: htmlproofer
run: |
bundle add html-proofer
bundle install
bundle exec htmlproofer ./_site
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.4
3.3.3
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
source "https://rubygems.org"
gem 'github-pages', group: :jekyll_plugins
gem 'html-proofer'

0 comments on commit 595d299

Please sign in to comment.