# Is it possible to trigger 2 different repos build from a single push?

**URL:** https://drone.discourse.group/t/is-it-possible-to-trigger-2-different-repos-build-from-a-single-push/11013
**Category:** Drone Support
**Created:** [February 16, 2017, 3:01pm UTC](https://drone.discourse.group/t/is-it-possible-to-trigger-2-different-repos-build-from-a-single-push/11013 "2017-02-16T15:01:46Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![omerxx](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/omerxx/32/3956_2.png) [@omerxx](https://drone.discourse.group/u/omerxx)
#### Post date: [February 16, 2017, 3:01pm UTC](https://drone.discourse.group/t/is-it-possible-to-trigger-2-different-repos-build-from-a-single-push/11013/1 "2017-02-16T15:01:46Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![bradrydzewski](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/bradrydzewski/32/3513_2.png) [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)
#### Post date: [February 16, 2017, 11:57pm UTC](https://drone.discourse.group/t/is-it-possible-to-trigger-2-different-repos-build-from-a-single-push/11013/2 "2017-02-16T23:57:53Z")

</div>

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](https://github.com/UKHomeOffice/drone-trigger)

---

<div class="post-metadata">

### Author: ![omerxx](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/omerxx/32/3956_2.png) [@omerxx](https://drone.discourse.group/u/omerxx)
#### Post date: [February 17, 2017, 12:09am UTC](https://drone.discourse.group/t/is-it-possible-to-trigger-2-different-repos-build-from-a-single-push/11013/3 "2017-02-17T00:09:20Z")

</div>

Awesome!

Thanks for the quick reply and solution 🙂
