Endpoint to trigger new build for target


Are you going to add support of trigger new build with promote/target?

You can do this today using the drone promote command:

drone build promote <repository> <build> <target>

For example, promote build number 42 for repository octocat/hello-world to an environment named prod:

drone build promote octocat/hello-world 42 prod

Thanks Brad, this I already know, my use case is that I want from to run target build from flat without any build number in order to run rollback, this cloud also work but I don’t want to relay on build number at all