Deployment

This MDX page walks through a placeholder deployment process and uses the <Callout> component to highlight important steps.

Deployments are immutable. Each release gets a unique identifier so you can roll back at any time.

Deployment steps

Follow these steps to ship a release:

  1. Build the project with example-cli build.
  2. Run the test suite and confirm it passes.
  3. Publish the release with example-cli deploy.
example-cli build
example-cli deploy --environment production

Verifying the release

After deploying, check the health endpoint to confirm the release is live:

curl https://example.com/health

Production deployments cannot be undone instantly. Always verify in a staging environment first.

Rolling back

If something goes wrong, roll back to the previous release with a single command. See the API Overview for the programmatic equivalent.