Skip to content

docs: correct the deployment story in the README - #37

Merged
kaya-abdullah merged 1 commit into
mainfrom
docs/deployment-accuracy
Aug 1, 2026
Merged

docs: correct the deployment story in the README#37
kaya-abdullah merged 1 commit into
mainfrom
docs/deployment-accuracy

Conversation

@kaya-abdullah

Copy link
Copy Markdown
Member

Why

The README said:

Any push to the main branch will trigger an automatic build and deployment.

That has not been true since deployment was gated on release: published. Pushing to main runs ci.yml, which verifies and stops. Anyone following the README would push, watch a green check, and wonder why production had not moved. docs/TOOLCHAIN.md had already flagged the drift in its closing note.

What changed

  • Both workflows documented, so the split between verification and deployment is explicit:

    Workflow Trigger What it does
    ci.yml pull request, push to main Verifies only — gate, secret scan, dependency audit, build. Does not deploy.
    deploy.yml release: published (or manual dispatch) Builds and deploys to GitHub Pages.
  • The real release path is spelled out: land via pull request (branch protection requires it), chore(release): X.Y.Z, tag, publish the release.

  • bun run gate documented — the pre-push hook and CI both enforce it, but the README never mentioned it.

  • Live site link fixed — the canonical host is libredb.org; libredb.github.io 301-redirects to it (verified).

  • docs/TOOLCHAIN.md recorded this inconsistency as outstanding; it now records it as resolved, so the two documents agree.

Documentation only — no site output changes.

Verification

bun run gate clean: 0 typecheck errors, Prettier clean, oxlint clean, knip clean, 66 tests pass.

🤖 Generated with Claude Code

The README claimed "Any push to the `main` branch will trigger an automatic
build and deployment". That has not been true since deployment was gated on
`release: published`: pushing to `main` runs ci.yml, which verifies and stops.
Anyone following the README would push, watch a green check, and wonder why
production had not moved. docs/TOOLCHAIN.md had already flagged the drift.

- Describe both workflows and what each one does, so the split between
  verification and deployment is explicit
- Spell out the actual release path: land via pull request (branch protection
  requires it), `chore(release): X.Y.Z`, tag, publish the release
- Point at docs/TOOLCHAIN.md for the full reference
- Document `bun run gate`, which the pre-push hook and CI both enforce but the
  README never mentioned
- Fix the live site link: the canonical host is libredb.org, and
  libredb.github.io 301-redirects to it

TOOLCHAIN.md's closing note recorded this inconsistency as outstanding; it now
records it as resolved, so the two documents agree.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@kaya-abdullah
kaya-abdullah merged commit ad4ba39 into main Aug 1, 2026
4 checks passed
@kaya-abdullah
kaya-abdullah deleted the docs/deployment-accuracy branch August 1, 2026 00:17
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