Skip to content

ci: deploy docs on docs changes to main#317

Merged
btravers merged 1 commit into
mainfrom
ci/deploy-docs-on-main
Jul 16, 2026
Merged

ci: deploy docs on docs changes to main#317
btravers merged 1 commit into
mainfrom
ci/deploy-docs-on-main

Conversation

@btravers

Copy link
Copy Markdown
Collaborator

Docs-only merges (like today's Beetroot Stack theme rollout) never shipped — the Pages deploy only triggers on release: published. This adds a path-filtered push trigger for docs/** + pnpm-workspace.yaml and restores workflow_dispatch for manual deploys. Once merged, the pending theme deploy fires automatically (this workflow file is in its own paths filter).

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.
Copilot AI review requested due to automatic review settings July 16, 2026 01:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the documentation deployment workflow so GitHub Pages deploys not only when a release is published, but also when docs-related changes land on main, ensuring docs-only merges (e.g., theme/content updates) are shipped without requiring a library release.

Changes:

  • Add a path-filtered push trigger on main for docs/**, pnpm-workspace.yaml, and the workflow file itself.
  • Restore workflow_dispatch to allow manual documentation deploys.
  • Update the workflow header comment to reflect the expanded trigger behavior.

@btravers btravers merged commit 0e546e4 into main Jul 16, 2026
11 checks passed
@btravers btravers deleted the ci/deploy-docs-on-main branch July 16, 2026 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants