ci: deploy mkdocs via GitHub Actions#14
Merged
Merged
Conversation
Mirrors modern-di's docs-deploy setup: Justfile recipe, docs.yml workflow on push-to-main, custom subdomain via site_url + CNAME, plus an action-version bump pass across existing workflows. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Five-task plan: Justfile recipe, docs.yml workflow, mkdocs.yml + CNAME for custom subdomain, mechanical action-pin bump across four existing workflows, then verify + PR. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Every other recipe in this Justfile and modern-di's docs-deploy use 4 spaces; the tab was an inconsistency, not a deliberate choice. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
6 tasks
This was referenced Jun 9, 2026
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.
Summary
Deploy Docsworkflow that auto-deploysmkdocstogh-pageson push tomainwhendocs/**ormkdocs.ymlchanges.docs-deployrecipe toJustfile(uvx mkdocs gh-deploy --force), mirroringmodern-di.semvertag.modern-python.orgviasite_urlinmkdocs.ymlanddocs/CNAME.ci.yml,publish.yml,semvertag.yml,tag-major.ymlto matchmodern-diparity:checkout@v6,setup-just@v4,setup-uv@v8.2.0.Spec:
planning/specs/2026-06-09-mkdocs-github-actions-design.mdTest plan
action-smokejob passes undercheckout@v6(this is the one job where the bump could surface a difference — composite action exercised viauses: ./)Deploy Docsviaworkflow_dispatchfrom the Actions UI — workflow succeeds, createsgh-pagesbranchgh-pagesbranch in repo Settings → Pagessemvertag.modern-python.org(CNAME →modern-python.github.io.) and verify the site serves🤖 Generated with Claude Code