Skip to main content

Command: deploy

Deploy a component to one or more environments. You can deploy a built component by specifying its tag, or (when the datacenter supports it) deploy a component from source:

$ arcctl deploy architectio/frontend:latest --environment production
$ arcctl deploy ./frontend --environment production

Arguments

IndexDescription
0The tag of the component to deploy or path to a component to build/deploy

Flags

NameTypeDescription
--environment, -eArray<String>Environment(s) to deploy the component to
--ingress, -iArray<String>A set of mappings between ingresses and subdomains to associate with said ingress (e.g. app:frontend)
--variable, --varArray<String>A set of variable values to apply to the component (e.g. stripe_api_key=abc123)
--auto-approveBooleanIf true, skips the confirmation step and begins applying changes right away
--refreshBooleanForces the update of all resources. This doesn't necessarily make changes, but ensures that the state file has up-to-date information.
--debug, -dBooleanUses the debug configuration for the resources in the component.