forge service-deploy
Deploy a service (non-app infrastructure).
Command
forge service-deploy <service-name> [--app <name>]
Arguments
| Name | Type | Required | Notes |
|---|---|---|---|
| string | yes | Name of the service |
Flags
| Flag | Type | Default | Notes |
|---|---|---|---|
| string | — | Project or app name filter |
Examples
Deploy a service:
forge service-deploy redis-cache
Deploy for a specific app:
forge service-deploy postgres-db --app my-api
Errors
| Exit code | Meaning |
|---|---|
| 0 | Service deploy triggered successfully |
| 1 | Failed to deploy |
Pitfalls
- Non-app infra — this is for deploying supporting infrastructure services, not application code.
- Service definitions — services must be defined in
or the project config.blueforge.config.json
See also
{auto-injected}
Tested against
{auto-injected}