Skip to content

Add GitHub Actions Jekyll build + deploy workflow (#98)#104

Merged
jonfroehlich merged 1 commit into
mainfrom
ci/github-actions-jekyll-deploy
Jun 22, 2026
Merged

Add GitHub Actions Jekyll build + deploy workflow (#98)#104
jonfroehlich merged 1 commit into
mainfrom
ci/github-actions-jekyll-deploy

Conversation

@jonfroehlich

Copy link
Copy Markdown
Member

Summary

Spikes the GitHub Actions Jekyll deploy from #98 — the V2.0 enabler that unblocks custom plugins (#101), build-time code inlining (#100), and content lint/test gates (#99).

Adds .github/workflows/jekyll.yml: on every push to main (and manual dispatch) it runs bundle exec jekyll build on a clean Ubuntu runner and publishes _site/ via actions/deploy-pages. It still installs the existing github-pages gem from the Gemfile, so the built output matches the current branch-based build — this is a no-regret swap of the build mechanism, not the site.

Verification

  • ✅ Local bundle exec jekyll build passes; remote_theme resolves, baseurl: /physcomp handled by configure-pages (base_path = /physcomp).
  • ✅ Build time ~20s, same as the current default build.
  • ✅ Deploy pipeline documented in website-dev.md.

Cutover (after merge)

The Actions deploy only takes over publishing once Settings → Pages → Build and deployment → Source is switched from "Deploy from a branch" to GitHub Actions. Until then the legacy build keeps serving and the workflow's deploy step is a no-op. Once merged, I'll flip the Pages source (per our agreed plan) and confirm the first green production deploy.

Closes #98 once the source switch is confirmed live.

🤖 Generated with Claude Code

Replace the default branch-based GitHub Pages build with an Actions
workflow that runs `bundle exec jekyll build` on a clean runner and
publishes _site/ via actions/deploy-pages. Keeps the github-pages gem so
the built output matches the current site, while unlocking custom
plugins, build-time code inlining, and content lint/test gates.

Document the new pipeline (and the required Settings -> Pages source
switch) in website-dev.md.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@jonfroehlich

Copy link
Copy Markdown
Member Author

Switched it to GitHub Actions in https://github.com/makeabilitylab/physcomp/settings/pages

image

@jonfroehlich
jonfroehlich merged commit bf166df into main Jun 22, 2026
@jonfroehlich
jonfroehlich deleted the ci/github-actions-jekyll-deploy branch June 22, 2026 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Evaluate moving to a GitHub Actions Jekyll deploy (enabler for V2.0)

1 participant