Please wait

Loading...

Start typing in the pseudo command bar to explore the commands available.

api:environments:code-deploy

Deploys code to this environment.

For more help, see https://cloudapi-docs.acquia.com/ or https://dev.acquia.com/api-documentation/acquia-cloud-site-factory-api for acsf commands.

Usage

acli api:environments:code-deploy [--message MESSAGE] [--cloud-actions CLOUD-ACTIONS] [--] <environmentId> <source>
acli api:environments:code-deploy 12-d314739e-296f-11e9-b210-d663bd873d93 "14-0c7e79ab-1c4a-424e-8446-76ae8be7e851" --message="Optional commit message"
acli api:environments:code-deploy myapp.dev "14-0c7e79ab-1c4a-424e-8446-76ae8be7e851" --message="Optional commit message"

Arguments

  • environmentId

    Required

    The environment identifier. The identifier is a compound key consisting of the internal database ID of the environment and the application UUID. You may also use an environment alias or UUID.

  • source

    Required

    The ID of the environment to deploy code from.

Options

  • --message

    Required

    An optional commit message to include when creating a new tag.

  • --cloud-actions

    Required

    An optional array of Cloud Actions.

    Defaults to []

  • --help | -h

    Optional

    Display help for the given command. When no command is given display help for the <info>list</info> command

    Defaults to false

  • --quiet | -q

    Optional

    Do not output any message

    Defaults to false

  • --verbose | -v|-vv|-vvv

    Optional

    Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

    Defaults to false

  • --version | -V

    Optional

    Display this application version

    Defaults to false

  • --ansi

    Optional

    Force (or disable --no-ansi) ANSI output

  • --no-ansi

    Optional

    Negate the "--ansi" option

    Defaults to false

  • --no-interaction | -n

    Optional

    Do not ask any interactive question

    Defaults to false