Publishing
Launch checklist
Before you hand a site to editors, run down this list.
Required
-
astroinpackage.json. - A content config at a supported path; for Astro 6/7,
zfromastro/zod(see Astro versions). - Editable content is Markdown/MDX in content collections under
src/content/(see What Orbit edits). - Schemas use enums,
image(), and.optional()/.default()thoughtfully (see The editor form). - Assets under
assetsDir(defaultsrc/assets).
Optional — only if you use the feature
-
orbit.config.yamlat the repo root for branches, snippets, data files, collection overrides, components, and branding (see orbit.config.yaml). - MDX components —
@astrojs/mdxinstalled and each component declared undercomponents:(see MDX components). - Editable data — JSON files listed under
data:(see Editable data files). - Snippets —
src/content/snippets/exists and the right mode is set (snippets.compileOnSave; see Images & snippets).
Publishing & branding
- A testing branch (e.g.
preview) underbranches.default, andbranches.liveset to your live branch (defaultmain) (see Branches & publishing). - The live branch protected on GitHub, with your approvers on the ruleset’s bypass list and editors given Write access (see Setting up your GitHub repository).
- (Optional)
site.previewUrl/site.liveUrlso Orbit links to the built testing and live sites. - A favicon at a conventional path, or
site.faviconset.
That’s it — open the repo and the editing form builds itself from your schema.