Skip to content

ci: rebuild the manual on every push to main - #16

Merged
hlship merged 2 commits into
mainfrom
hlship/260902-rebuild-manual-on-main
Sep 3, 2026
Merged

ci: rebuild the manual on every push to main#16
hlship merged 2 commits into
mainfrom
hlship/260902-rebuild-manual-on-main

Conversation

@hlship

@hlship hlship commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

Dialog-IF/manual consumes this repo's docs/ as an Antora content source, so a merge to main that touches docs/ can leave the published manual stale. release.yml already fires a repository_dispatch (rebuild-manual) at that repo after a tagged release — this adds the same trigger for plain merges.

New workflow .github/workflows/rebuild-manual.yml:

  • on: push: branches: [main], paths: ['docs/**'] — a code-only merge produces an identical site, so it's skipped
  • workflow_dispatch for a forced rebuild
  • concurrency coalesces a burst of doc merges into one rebuild
  • uses the existing MANUAL_REBUILD_TOKEN secret + peter-evans/repository-dispatch@v3, exactly as release.yml does

🤖 Generated with Claude Code

hlship and others added 2 commits September 2, 2026 18:45
Fires the same repository_dispatch at Dialog-IF/manual that release.yml
already sends, so a plain merge to main keeps the published manual in
sync with docs/, not just tagged releases.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RTppFtoRZ3ZmWYF14xDiXX
A code-only merge produces an identical site. workflow_dispatch stays
available for a forced rebuild.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RTppFtoRZ3ZmWYF14xDiXX
@hlship hlship self-assigned this Sep 3, 2026
@hlship
hlship merged commit 763000e into main Sep 3, 2026
1 check passed
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