Skip to main content

conveyor project promote

Promote a project build from one environment to the other

Synopsis

Promotes a project from on environment to the other. It will take the currently deployed version from one environment and deploy it to another. That way you can be sure that the exact code you tested on one environment lands on another.

conveyor project promote [flags]

Examples

To promote a project from an environment named dev to prod, execute the following command:

$ conveyor project promote --from dev --to prod
$ conveyor promote --from dev --to prod (alias)

Options

      --from string   The name of the source environment
-h, --help help for promote
--id string The id of the project
--name string The name of the project
--path string The location of the project (default ".")
--to string The name of the destination environment
-w, --wait Set to wait for the deployment to succeed

Options inherited from parent commands

      --debug                        Show debug output
--no-browser NO_BROWSER=true Do not automatically open a browser at login instead print the url to the command line. You can also use the environment variable NO_BROWSER=true.
-o, --output string Change the output. Valid options are table or json (default "table")
--quiet QUIET=true Quiet down the output. You can also use the environment variable QUIET=true.

See also