truss push
Pushes a truss to a TrussRemote.
Options
Name of the remote in .trussrc to patch changes to.
Push the truss as a published deployment. If no production deployment exists, promote the truss to production after deploy completes.
Push the truss as a published deployment. Even if a production deployment exists, promote the truss to production after deploy completes.
Push the truss as a published deployment. Promote the truss into the environment after deploy completes.
Preserve the previous production deploymentβs autoscaling setting. When not specified, the previous production deployment will be updated to allow it to scale to zero. Can only be use in combination with --promote
option.
Give Truss access to secrets on remote host.
Name of the model
Name of the deployment created by the push. Can only be used in combination with --publish
or --environment
. Deployment name must only contain alphanumeric, β.β, β-β or β_β characters.
Whether to wait for deployment to complete before returning. If the deploy or build fails, will return with a non-zero exit code.
Maximum time to wait for deployment to complete in seconds. Without specifying, the command will not complete until the deployment is complete.
Show help message and exit.
Arguments
A Truss directory. If none, use current directory.