Stage and deploy a change
A change reaches your sites in two steps: stage, then deploy. Staging needs the Stage permission and deploying needs Deploy; see who can stage and deploy.
1. Save your changes
Section titled “1. Save your changes”Make your edits on their own screens and save them. Each save changes the draft only.
2. Stage the draft
Section titled “2. Stage the draft”Open Delivery › Deployments › Versions. When something is staged, a panel above the log shows it, titled with the version number it will get, for example What staged #48 changes. It shows:
- how many warnings the gate found, if any, beside the title;
- how many records were added, removed and changed;
- each changed record, grouped by kind.
EdgeKit stages automatically about a minute after the last saved change, or after at most 5 minutes while changes keep arriving. Until then, the foot of the navigation rail shows Changes waiting to stage. The Latest changes panel of Revenue › Dashboard shows who staged the current preview and when; an automatic stage is shown as Automatic staging.
To stage now, select Stage the draft, or Re-stage the draft when a preview already exists. A successful stage shows a short notice; a refusal stays on the screen, above the panel:
| Message | What happened |
|---|---|
| Staged. n behavioural, n presentational, n added, n removed. | The preview was replaced with the current draft. |
| Staged. Nothing has changed since the last deployment. | The preview matches the live version. |
| The gate refused this draft. Nothing was staged. | One or more checks failed. Each failure is listed with where it was found. Any earlier preview stays as it was. |
Fix every listed failure in the draft and stage again.
3. Review the preview
Section titled “3. Review the preview”Read every change in the panel, including changes other people made: the deploy ships all of them. Each change is
listed under its kind (feature, product, site and so on), with what happened to it: Added, Removed (its name
struck through), or Changed with its version move, the old version struck through and then the new one, such as
v3 to v4. A presentational-only change shows as Renamed with Moves no version: it keeps its number.
The gate only checks that the draft is well formed. It does not tell you how many users get a different outcome. For each behavioural change, work out who it affects before you deploy.
4. Deploy
Section titled “4. Deploy”Select Deploy #48 (the button names the preview’s version). The console answers Deployment #48 is live., the preview panel goes away, and the new version is marked Live in the log.
The button is disabled when:
- your role does not have the Deploy permission;
- the preview was staged on an older version. Another version reached the log after this preview was staged, so the preview no longer shows what would change. The card at the foot of the navigation rail says n changes staged on an older version and #n went live since, so they stage again first. Select Re-stage the draft and review again;
- the gate refused the last stage, until you stage again;
- a stage is running.
Stage and deploy from any screen
Section titled “Stage and deploy from any screen”While changes wait, a card at the foot of the navigation rail shows how many there are. Select the card to open
Delivery › Deployments › Versions. Select Stage and deploy on the card to do steps 2 and 4 in one go without leaving the screen: it stages the draft when nothing current is staged, then deploys that preview. It skips step 3, so you do not see the changes first, and the deploy carries every staged change, including other people’s. The button shows only when your role has the Deploy permission, and the Stage permission too when it has to stage. A refusal appears as a message and nothing is deployed.
When a deploy is refused
Section titled “When a deploy is refused”| Message | Cause | What to do |
|---|---|---|
| Nothing is staged. Stage the draft first. | There is no preview. | Stage the draft. |
| This was staged against deployment n and the tenant is now on m. Stage again. | A version was added after this preview was staged. | Stage again and review the new preview. |
| Another deployment landed while this one was being written. Stage again. | Two deploys ran at the same moment and the other one won. | Stage again and review the new preview. |
| The tenant did not answer. Nothing was changed. | EdgeKit could not reach your organization’s data. | Try again. Nothing was deployed. |