Skip to content

Publish manual: accept a fine-grained token as well as a deploy key - #104

Merged
76cb merged 1 commit into
mainfrom
claude/inspiring-allen-yra5xq
Oct 21, 2026
Merged

76cb merged 1 commit into
mainfrom
claude/inspiring-allen-yra5xq

Conversation

@76cb

@76cb 76cb commented Oct 21, 2026

Copy link
Copy Markdown
Owner

Follow-up to #103: the "Publish manual" workflow can now use a fine-grained personal access token instead of a deploy key, so the one-time setup needs only the GitHub website (no ssh-keygen).

  • actions/checkout of the Docs repository takes token: ${{ secrets.DOCS_PUBLISH_TOKEN || github.token }} next to ssh-key: ${{ secrets.DOCS_DEPLOY_KEY }}. A deploy key wins when both exist; with neither, the checkout still reads the public repository and the push fails with 403 as in the first run.
  • documentation-site/README.md and the manual's release page describe both routes.

Validated: YAML parses; privacy, export, mkdocs strict and site validation pass locally. The workflow itself only runs on main, so its first real run with a token is the manual run after this merges.


Generated by Claude Code

The Docs repository checkout takes secrets.DOCS_PUBLISH_TOKEN (falling
back to the default token, which cannot push) next to the deploy key, so
the one-time setup can be done entirely on the GitHub website. The README
and the release page describe both routes.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QcYr11a5B65kS64MagbgF1
@76cb
76cb merged commit 7ec0264 into main Oct 21, 2026
4 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