Set up GitHub Pages compatibility with new Gemfile and scripts

- Updated Gemfile for GitHub Pages compatibility, including necessary gems.
- Added Gemfile.github-pages for specific GitHub Pages dependencies.
- Created scripts to switch between GitHub Pages and local development setups.
- Introduced GitHub Actions workflow for building and deploying the Jekyll site to GitHub Pages.
This commit is contained in:
Z. Cliffe Schreuders
2025-09-15 23:33:11 +01:00
parent 3d9029a200
commit 94d4f3b74a
5 changed files with 129 additions and 3 deletions

13
Gemfile
View File

@@ -1,5 +1,12 @@
source 'https://rubygems.org'
gem 'jekyll'
gem 'jekyll-feed'
gem 'jekyll-sitemap'
# GitHub Pages compatible gems
gem 'github-pages', group: :jekyll_plugins
gem 'jekyll-feed', '~> 0.12'
gem 'jekyll-sitemap'
# If you want to use GitHub Pages, uncomment the line below and comment out the jekyll gem above
# gem 'github-pages', group: :jekyll_plugins
# For local development, you can use a newer Jekyll version
# gem 'jekyll', '~> 4.3.0'