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:
- Build the project with
example-cli build. - Run the test suite and confirm it passes.
- Publish the release with
example-cli deploy.
example-cli build
example-cli deploy --environment productionVerifying the release
After deploying, check the health endpoint to confirm the release is live:
curl https://example.com/healthProduction 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.