drone build promote

Updated 2 years ago by Admin

This subcommand promotes a build to the target environment. Please note this command requires push privileges to the repository.

NAME:
drone build promote - promote a build

USAGE:
drone build promote [command options] <repo/name> <build> <environment>

OPTIONS:
--param value, -p value custom parameters to be injected into the job environment.

Example usage, promotes a build by build number:

$ drone build promote octocat/hello-world 42 production

Example usage, with custom parameters:

$ drone build promote octocat/hello-world 42 production \
--param=foo=bar \
--param=baz=qux \


How did we do?