I’m thinking of having a separate repo for automation tests, and I’d like for my main project Pull request when its created, to deploy both the build and the automation tests project.
I tried adding the same webhook as my automation project bad got bad response 400 for some reason.
Is that possible?
Webhooks contain a cryptographically signed token that is unique to a single repository with payload verification. It is therefore not possible to re-use the same webhook.
In your case, when the build starts, you can configure a step in your pipeline that launches a new build for your other project using the API or CLI. There is a third party plugin you can use that encapsulates this functionality. See https://github.com/UKHomeOffice/drone-trigger
Thanks for the quick reply and solution