Skip to content

Web publishing operations

The local workspace is the operational source of truth for a publication. A successful build is a candidate; only verification establishes a publishable artifact, and no command claims remote deployment.

  1. Run plan and inspect route, deletion, completeness, and issue changes.
  2. Resolve permission/version problems or explicitly acknowledge a partial plan.
  3. Run refresh to materialize assets and activate the new immutable bundle.
  4. Keep the previous bundle until the new build and verification are proven.

Activation is fenced by the expected active bundle digest. A stale concurrent refresh fails instead of replacing a newer candidate.

Terminal window
atlcli wiki publish build --project .atlcli/publish.json
atlcli wiki publish verify --project .atlcli/publish.json

Astro output and its private inventory are staged under sibling paths. Build or verification failure restores the previous output byte-for-byte. Verification checks the manifest, output ownership, file hashes, links, anchors, assets, Pagefind, SEO, CSP, analytics, edit-link origins, and private URL markers.

The build child receives only the active ATLCLI_PUBLICATION_BUNDLE_PATH and private ATLCLI_PUBLICATION_INVENTORY_PATH handoff plus a small safe process environment. The project-owned Astro config must consume those paths; no Atlassian credential crosses into the build.

Rollback is a local pointer operation: select the previous retained bundle/build after reviewing its digest and verify it again before serving it. Never copy a partially written directory over the active output and never delete by title or glob.

Terminal window
atlcli wiki publish status --project .atlcli/publish.json
atlcli wiki publish prune --project .atlcli/publish.json --confirm

prune removes only verified unreachable bundles/builds within the configured retention window. Keep the project file, active pointer, and last valid build until an operator has confirmed the replacement.

The bundle digest, project/config/lockfile digests, experience digest, search digest, SEO digest, and per-output SHA-256 values are recorded in the private StaticPublicationManifestV1. Pagefind physical filenames may vary between tool versions; semantic manifests and the exact candidate inventory are both retained so a deployment can bind to the artifact actually verified.

Jira and Confluence are trademarks of Atlassian Corporation Plc. atlcli is not affiliated with, endorsed by, or sponsored by Atlassian.