Deployments
Create, monitor, and manage deployments from the terminal.
Deploy
Bash1createos deploy
The CLI detects your project type automatically:
- VCS projects — deploys from the latest commit on the default branch
- Upload projects — zips your local directory and pushes it
- Image projects — deploys a Docker image
Flags
| Flag | Description |
|---|---|
--project <id> | Project ID (auto-detected from .createos.json) |
--branch <name> | Branch to deploy from (VCS projects only) |
--image <ref> | Docker image reference (image projects only) |
--dir <path> | Directory to deploy (upload projects, default: .) |
Examples
Bash1# Deploy from a specific branch2createos deploy --branch staging34# Deploy a Docker image5createos deploy --image myapp:v2.067# Deploy a specific project in CI8createos deploy --project abc-123-def
List deployments
Bash1createos deployments list
Shows all deployments with version, status, URL, and timestamp.
View logs
Runtime logs
Bash1createos deployments logs
Real-time log streaming
Bash1createos deployments logs -f
Polls every 2 seconds. Press Ctrl+C to stop.
Custom polling interval
Bash1createos deployments logs -f --interval 5s
Build logs
Bash1createos deployments build-logs
Shows the build-time output (dependency install, compilation, packaging).
Retrigger
Re-deploy from the same source:
Bash1createos deployments retrigger
Cancel
Stop a running deployment:
Bash1createos deployments cancel
Use --force in CI to skip the confirmation prompt.
Wake up
Resume a sleeping deployment:
Bash1createos deployments wakeup
Interactive selection
When no deployment ID is provided, the CLI lists your deployments and lets you pick one interactively. In non-interactive mode (CI/pipes), pass the deployment ID via positional argument or use the --project and --deployment flags.