Review and publish a CMS site
Move a CMS site from source to live delivery in separate steps. Green developer readiness confirms that authoring and preview work. It does not mean that a release has already been built or published.
If needed, configure the local host first with Set up a local storefront domain. This quickstart is complete when the live domain serves the deliberately published release and operations readiness reports no blockers.
Distinguish the states
| State | Meaning | Next step |
|---|---|---|
| No build | The site can be edited and previewed, but no release exists yet. | Review the preview and start a build. |
| Build running | Workspace is creating an immutable release. | Wait for completion. |
| Build failed | The release was not created reliably. Internal diagnostics stay in operations logs and are not exposed in the UI. | Inspect the internal cause and start the build again. |
| Release unpublished | A build exists but is not live. | Review the release and publish it deliberately. |
| Release published | The selected release is live. | Check the live domain and operations readiness. |
When site-domain binding, DNS, and TLS are ready, Workspace returns an expected HTTP 404 instead of live content before the first publication. Treat 404 as a missing live release only in this case. Blocked domain, DNS, TLS, or binding checks indicate an infrastructure problem.
Move from preview to live
- Open
CMS > Sitesand select the site. - Initialize an empty site once with the default kit.
- Start a dev session and edit files on the
Editortab. - Generate a preview link and review the result.
- Open the
Releasestab and start the build. - Wait until the new release appears in the list.
- Review the release and confirm
Publishfor that exact version. - Check the live domain and operations readiness.
A build never publishes automatically. A successful new build also leaves an existing live release unchanged until you publish explicitly.
Use preview links safely
The preview link expires with the selected review window. It is redeemed once in the intended browser and establishes preview access there. Do not test-open the link or call it automatically, because that consumes the handoff.
Never store concrete preview tokens in logs, tickets, screenshots, or documentation. Generate or copy a link only for the intended reviewer. A preview link does not publish the site.
Verify with nucli
nucli --tenant <tenant> sites readiness <site-id>
nucli --tenant <tenant> web readiness <site-id>
nucli --tenant <tenant> sites build <site-id> --wait
nucli --tenant <tenant> sites build-status <site-id>
nucli --tenant <tenant> sites releases list <site-id>
nucli --tenant <tenant> sites inspect <site-id> --strict
nucli --tenant <tenant> sites publish plan <site-id> --release <release-id>
nucli --tenant <tenant> sites publish <site-id> --release <release-id>sites readiness evaluates authoring and preview. Use inspect --strict only as a launch gate. web readiness evaluates domain, DNS, TLS, build, and live release. The publish plan is read-only: it may accept an unpublished release as the planned transition, while infrastructure, release-read, and build failures remain blocking.
Approve mutating MCP calls
When an MCP agent performs this workflow, exactly these 13 Site and domain tools require the JSON Boolean approved: true in the same call:
nucleus_site_files_applynucleus_site_backup_savenucleus_site_restore_applynucleus_site_dev_startnucleus_site_preview_link_requestnucleus_site_dependencies_addnucleus_site_dependencies_syncnucleus_site_buildnucleus_site_publishnucleus_tenant_domain_createnucleus_tenant_domain_start_verificationnucleus_tenant_domain_verify_dnsnucleus_site_domain_bind
Approve only the concrete tool call and its complete payload. If approved is missing, false, null, or not a Boolean, nucli stops before file, secret, network, or server access. The field remains local and does not replace authentication, permissions, tenant binding, or Workspace validation. Read-only tools and the side-effect-free nucleus_site_validate and nucleus_site_restore_preview tools remain unchanged.
Verify the result
Publication is complete when web readiness reports no blockers, the selected release is marked live, and the live domain serves the reviewed content instead of the expected pre-publication 404.