Skip to main content

sypho commit

Build and deploy an agent in one step.

Usage​

sypho commit [OPTIONS]

Takes the same options as build and deploy combined:

FlagDefaultDescription
--version <VERSION>0.1.0Version to build and deploy
--pulloffPull the base image fresh before building
--name <NAME>project directory nameAgent name, if no sypho.manifest.json exists yet
--deployment-type <TYPE>—Deployment type to target
--deployments <LIST>—Comma-separated specific deployment names to assign

Example​

cd my-agent
sypho commit --version 0.1.1 --deployments staging

Equivalent to running sypho build --version 0.1.1 followed by sypho deploy --version 0.1.1 --deployments staging.

Next Steps​