Skip to content

ci: publish docs only when master changes - #131

Merged
HenryRLee merged 1 commit into
developfrom
docs-publish-on-master
Jul 11, 2026
Merged

HenryRLee merged 1 commit into
developfrom
docs-publish-on-master

Conversation

@HenryRLee

Copy link
Copy Markdown
Owner

Changes the Docs workflow so GitHub Pages is published only when the master branch changes, instead of develop.

  • push trigger: develop → master (builds and deploys).
  • pull_request trigger: develop → develop, master (build-only validation, no deploy).
  • Deploy job guard: github.ref == 'refs/heads/master' (was develop).
  • workflow_dispatch still allowed (deploys only when run on master).

This ties the published documentation to the release (master) branch while keeping doc-build validation on PRs.

Note: publishing will only occur once master receives these docs changes (e.g., on the next develop → master release merge).

Move the GitHub Pages deploy from develop to master: push to master
builds and deploys, while pull requests into develop or master only
build to catch errors. This ties the published docs to the release
(master) branch.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 07742674-f983-4ae2-a4d1-36972dad3598
@HenryRLee
HenryRLee merged commit 6134a3b into develop Jul 11, 2026
22 checks passed
@HenryRLee
HenryRLee deleted the docs-publish-on-master branch July 13, 2026 02:19
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.

1 participant