CLI Commands
deploy
Deploy a build to an environment
Deploy Command
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.
Usage
Description
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:
- Testing deployment configurations
- Validating environment-specific settings
- Debugging deployment issues
- Verifying deployment logic works as expected
Arguments
package
: The name of the package to deploybuild-id
: The ID of the build to deployenvironment
: The target environment for deployment
Examples
Related Commands
build
: Build a packageenvironment
: Manage deployment environmentssync
: Synchronize your local state with the Ocuroot server