ci: deploy docs on docs changes to main#572
Merged
Merged
Conversation
docs-only merges (theme bumps, content edits) previously never shipped — the pages deploy only ran on release: published. also restores a manual workflow_dispatch trigger.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the documentation deployment workflow so GitHub Pages deploys not only on release: published, but also when documentation-related files change on main, with a manual fallback via workflow_dispatch. This fits the repo’s release-driven docs strategy while ensuring docs-only updates (theme/content) ship without requiring a library release.
Changes:
- Add a path-filtered
pushtrigger onmainfordocs/**,pnpm-workspace.yaml, and the workflow file itself. - Restore
workflow_dispatchso docs can be deployed manually when needed. - Update the header comment to reflect the expanded deploy triggers.
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.
Docs-only merges (like today's Beetroot Stack theme rollout) never shipped — the Pages deploy only triggers on
release: published. This adds a path-filteredpushtrigger fordocs/**+pnpm-workspace.yamland restoresworkflow_dispatchfor manual deploys. Once merged, the pending theme deploy fires automatically (this workflow file is in its own paths filter).