Deploy a build to an environment
The deploy
command is used to deploy a specific build of a package to a target environment. This is an offline command that lets you test your deployment logic locally without affecting the server state.
The deploy command takes a package build and deploys it to the specified environment. It manages the deployment process locally, allowing you to test and validate your deployment configuration and logic before committing changes. This is useful for:
package
: The name of the package to deploybuild-id
: The ID of the build to deployenvironment
: The target environment for deploymentbuild
: Build a packageenvironment
: Manage deployment environmentssync
: Synchronize your local state with the Ocuroot server