Skip to content

Tell the site when the docs or the release change - #20

Merged
ehsun-sh merged 1 commit into
mainfrom
claude/auto-sync-version-docs-qkl0p0
Oct 8, 2026
Merged

ehsun-sh merged 1 commit into
mainfrom
claude/auto-sync-version-docs-qkl0p0

Conversation

@ehsun-sh

@ehsun-sh ehsun-sh commented Oct 7, 2026

Copy link
Copy Markdown
Owner

Requested by Ehsan · project thread

Before: maimanstudio.com only picked up a docs or version change on its own hourly check.

After: a push to main that touches docs/, pyproject.toml or CONTRIBUTING.md sends a repository_dispatch to maiman-studio-landing, whose sync workflow rebuilds and deploys the site right away.

How: .github/workflows/notify-site.yml posts to the dispatches API with the SITE_DISPATCH_TOKEN secret (a fine-grained token with access to maiman-studio-landing only, permission "Contents: Read and write"). Without the secret the job prints a notice and passes.

🤖 Generated with Claude Code

https://claude.ai/code/session_01CtFvm3ecXL14LGKKdVic26


Generated by Claude Code

maimanstudio.com reads docs/ and the version in pyproject.toml from here.
On a push to main that touches either, send a repository_dispatch to
maiman-studio-landing so it rebuilds right away instead of on its hourly
check. Needs the SITE_DISPATCH_TOKEN secret; skipped without it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CtFvm3ecXL14LGKKdVic26
@ehsun-sh ehsun-sh self-assigned this Oct 7, 2026
@ehsun-sh
ehsun-sh marked this pull request as ready for review October 8, 2026 16:02
@ehsun-sh
ehsun-sh merged commit 0ab965a into main Oct 8, 2026
5 checks 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.

2 participants