Repository navigation
Build and deploy the site with GitHub Actions - #990
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The site was still built on CircleCI with Ruby 2.6 and pushed to
gh-pageswith 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-pagesbranch to GitHub Actions as the source when this lands.