CI/CD pipeline
Detect → Build → Test → Deploy → Route. Where each stage can fail.
Stages
1
Detect
Git push is detected. main ships to production; PRs go to preview.
2
Build
Buildpack auto-detect or a Dockerfile. Override with build.command in axhub.yaml.
3
Test
If build.test is set, it runs. Failure aborts deploy.
4
Deploy
Pick one: Rolling · Blue/Green · Canary. Default is canary 10% → 100%.
5
Route
New version wired into the gateway. Traffic shifts after health checks.
Rollback
ax rollback <deployment-id> --to <version>~8 s on average. 100% traffic jumps to the previous version.