Skip to content

Build and deploy the site with GitHub Actions - #990

Merged
bbatsov merged 3 commits into
masterfrom
github-actions-site
Nov 26, 2026
Merged

bbatsov merged 3 commits into
masterfrom
github-actions-site

Conversation

@bbatsov

@bbatsov bbatsov commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator

The site was still built on CircleCI with Ruby 2.6 and pushed to gh-pages with a deploy key. This moves it to GitHub Actions with a direct Pages deploy, and switches the build to style-guide-theme - light and dark mode, and a layout that works on phones. The theme needs a browser from 2024 or later.

The spell check was broken as well (Python 3.8 is gone from the runners), so that's fixed here, and the misspell job is dropped since its upstream is archived.

Pages has to be switched from the gh-pages branch to GitHub Actions as the source when this lands.

Python 3.8 is no longer available on ubuntu-latest, so the job fails in
setup-python before codespell ever runs. There's nothing version-specific
here, so use whatever Python 3 is current and drop the single-entry
matrix along with the requirements.txt install for a file the repo
doesn't have.
It pipes an install script from client9/misspell straight into sh, and
that repo has been archived since 2024. codespell already covers the
same ground.
The site was built on CircleCI with Ruby 2.6 and a pinned Rouge 3.3,
and pushed to the gh-pages branch with a deploy key. That's a lot of
machinery for running Asciidoctor on one file, so it moves to GitHub
Actions and deploys straight to Pages.

The build now goes through bbatsov/style-guide-theme, which replaces
the stock Asciidoctor look with one that has light and dark mode and
works on phones. README.adoc is untouched and every anchor keeps
working. PRs build the guide too and fail on Asciidoctor warnings.
@bbatsov
bbatsov merged commit e12be30 into master Nov 26, 2026
2 of 3 checks passed
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.

1 participant