Amends 0002: CI deploys the site after the checks pass, and the
deploy on every push through the Mintlify GitHub app is switched off when the CI deploy lands.
Context
The documentation site (apps/docs) is a Mintlify site (0002). Mintlify deploys it on every push
through its GitHub integration. That deploy sits outside the turbo graph, outside the Quality Gate and outside any runway record,
while the other apps and services are described by a runway file that a root runway places (0168,
0296). The docs host is docs.stackra.figentra.com
(0175), and DNS for the Stackra zone belongs to the Pulumi stack
(0171).
Decision
- Mintlify is the destination. The docs member deploys to Mintlify (0002) at
docs.stackra.figentra.com. Its DNS record is in the Pulumi stack, not set by hand. - CI deploys, after the checks.
mint validate,mint broken-linksandmint a11yrun on the pull request and must pass before merge. CI deploys the merged change. Deploy on every push through the Mintlify GitHub integration is not kept. - The admin key stays in the CI vault. The Mintlify admin key is held in Infisical at
/ci(0173), and only the deploy job reads it. - A smoke test follows each deploy. After a deploy, a smoke test checks that the published site serves its pages. A failed check fails the deploy job.
- Generated docs inputs are committed. Pages and data that
stackra genwrites for the docs are committed, andstackra gen --checkfails when they are out of date. - The docs member has a runway. It declares what it needs in its member runway, and the root runway places the Mintlify destination, as 0296 sets for every member.
Consequences
- A docs change reaches the site only after the checks pass and the change merges. A broken link or an accessibility failure blocks the pull request.
- The admin key is read by one job, not by every workflow.
- The Mintlify push integration is switched off when the CI deploy lands, so a change is not deployed twice.
- The docs member gets a runway file, which the runway schema checks like every other member’s.
Enforcement
In place: thebuild (mint validate) and lint (mint broken-links) tasks of @figentra/docs run in the turbo graph and in
pnpm verify (0002).
planned — the mint a11y check in the Quality Gate; the CI deploy job; the post-deploy smoke test; stackra gen --check for the
committed docs inputs; and the docs runway file checked against the runway schema. Linear: STA-342.