csph deployments autodeploy
resume or pause auto-deploy: a push to the service's branch builds and deploys it
🔁 Resume or pause auto-deploy for a service built from git.
While auto-deploy is on, a push to the service's branch builds and deploys it.
A rollback pauses auto-deploy, so the next push doesn't replace the version you
rolled back to. While it is paused, pushes, matching tags and pull request
previews don't build; a push is recorded on the service's activity. Building
by hand still works: csph deployment builds create <deployment-id>.
csph deployments get <deployment-id> shows whether auto-deploy is on, and
since when it has been paused (autodeploy and autodeploy_paused_at in JSON).
If staff paused a service's auto-deploy, only staff can resume it.
Subcommands
| Command | Description |
|---|---|
| resume | turn auto-deploy back on, so pushes build again |
| pause | stop pushes from building; builds by hand still work |
See also
- csph deployments — manage deployments