mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-09-12 21:03:32 -06:00
Add CI for github-pages
gem builds (#1164)
This is a small PR that: - adds a `fixtures/Gemfile-github-pages`, the minimum gemfile necessary to build the site - adds a new Actions workflow to build the site with that gemfile In the future, this should prevent issues like #1074, where we push a change that passes the `jekyll` CI but fails to build on `github-pages` (and its dependencies - which in this case, was an older version of ruby sass). (to be honest - not super happy with the code duplication, but I also think we'll have different build matrices for the different versions, so I'm fine with this for now) Part of (but does not close) #1145.
This commit is contained in:
3
fixtures/Gemfile-github-pages
Normal file
3
fixtures/Gemfile-github-pages
Normal file
@@ -0,0 +1,3 @@
|
||||
source "https://rubygems.org"
|
||||
|
||||
gem 'github-pages', group: :jekyll_plugins
|
3
fixtures/README.md
Normal file
3
fixtures/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Test Fixtures
|
||||
|
||||
These files are used by Just the Docs maintainers to test *the theme itself*. **If you are using Just the Docs as a theme, you should not copy these files over.**
|
Reference in New Issue
Block a user