ci: extract reusable docs workflow, add manual docs-publish trigger - #658
Merged
Conversation
Splits the Sphinx + JupyterLite build/deploy steps out of ci.yml into a workflow_call reusable workflow (docs.yml), then adds docs-publish.yml as a workflow_dispatch entry point that calls the same steps without waiting on the full OS/Python test matrix -- e.g. for a docs-only fix. ci.yml's docs job is unchanged in behavior, just delegates to docs.yml.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #658 +/- ##
=====================================
Coverage 0.00% 0.00%
=====================================
Files 143 143
Lines 14050 14050
=====================================
Misses 14050 14050 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Consistent name across RTB/MVTB/bdsim for the manual docs-publish button.
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
ci.ymlinto aworkflow_callreusable workflow (docs.yml), so the logic lives in one place.docs-publish.yml, aworkflow_dispatch-only entry point that calls the samedocs.ymlsteps without waiting on the full OS/Python test matrix — useful for a docs-only fix that doesn't need the whole suite to re-run first.ci.ymlbehavior is unchanged: itsdocsjob still runs only aftertest-core/testpass, just delegates todocs.ymlinstead of duplicating the steps.main(checked insidedocs.yml'sdocs-deployjob), so a manual dispatch from another branch just builds, it doesn't publish.Test plan
ci.ymlstill builds + deploys docs on a push tomain, same as beforemainand confirm it builds and deploys the site