BlueForge Docs

forge service-deploy

Deploy a service (non-app infrastructure).

Command

forge service-deploy <service-name> [--app <name>]

Arguments

NameTypeRequiredNotes
service-name
stringyesName of the service

Flags

FlagTypeDefaultNotes
--app
stringProject 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 codeMeaning
0Service deploy triggered successfully
1Failed to deploy

Pitfalls

  • Non-app infra — this is for deploying supporting infrastructure services, not application code.
  • Service definitions — services must be defined in
    blueforge.config.json
    or the project config.

See also

{auto-injected}

Tested against

{auto-injected}