Repository navigation
ci: deploy the docs with the Pages actions - #69
Merged
Merged
Conversation
The repository's Pages setting serves a GitHub Actions deployment, but the docs job pushed to the gh-pages branch, which is not served: the live site was last built in January 2025 and has no 1.0 pages, nor llms.txt. The job now uploads the build as a Pages artifact and deploys it, as ansitable and bdsim do, to the github-pages environment (deployable from main). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Up to standards ✅🟢 Issues
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #69 +/- ##
=======================================
Coverage 97.26% 97.26%
=======================================
Files 3 3
Lines 1570 1570
=======================================
Hits 1527 1527
Misses 43 43 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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 published documentation is out of date, and has been since January 2025.
build_type: workflow); the last build was 2025-01-08.docsjob inci.ymldoespeaceiris/actions-gh-pages, which pushes the HTML to thegh-pagesbranch. Nothing serves that branch any more: the branch has the current docs (andllms.txt, from docs: llms.txt, llms-full.txt and AGENTS.md #68), the site has not changed.https://petercorke.github.io/pgraph-python/analysis.html,construction.htmlandllms.txtare all 404.This switches the job to what ansitable and bdsim do:
configure-pages,upload-pages-artifactanddeploy-pagesto thegithub-pagesenvironment, withpages: writeandid-token: writeon that job only. The environment's branch policy already allowsmain. The build, thellmsstep and the conditions (a push, or a manual run frommain) are unchanged.Not testable on a PR: the job runs on pushes to
mainand the environment accepts onlymain. After it merges the push builds and deploys, and I will check the site;gh workflow run ci.yml --ref mainrepeats it.🤖 Generated with Claude Code