Cloning a site
The person says: “Clone the downtown site so we can try the new layout without touching it.”
A clone is a new site in this workspace (it counts toward the plan’s sites): the source’s content, media, menus and settings are copied into it from what is live, never drafts. It runs in the background.
The loop
Section titled “The loop”Empress:whoami— the source site’s slug, and the plan’s room for another site.Empress:site_status— the source: drafts and an open change set are not copied; say so.Empress:site_call—tool: "empress.site_clone", optionalargs: { title, slug }for the copy;confirm: trueonce the person agreed. The answer starts a run.Empress:work_status— the copy’s task, until it is done; it names the new site.Empress:site_status— the new site, once it is active.Empress:changeset_create— on the new site, for what makes it different.Empress:site_call—tool: "content_update"for those differences (args: the item’scollectionandid, the changed fields indata), withchangeset; preview and promote as instaging-a-change.
Judgment
Section titled “Judgment”- A clone starts identical. Change the name, address and contact details before anything on it is shared.
- A staging sibling is not a second venue. For a new location with its own theme choices, see
creating-a-site.