# Deploy triggered from repository hosted on Gitlab

**URL:** <https://answers.netlify.com/t/deploy-triggered-from-repository-hosted-on-gitlab/1519>\
**Category:** Support\
**Tags:** git\
**Created:** [June 18, 2019, 11:19pm UTC](https://answers.netlify.com/t/deploy-triggered-from-repository-hosted-on-gitlab/1519 "2019-06-18T23:19:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonchin](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/jonchin/32/1304_2.png) [@jonchin](https://answers.netlify.com/u/jonchin)\
**Post date:** [June 18, 2019, 11:19pm UTC](https://answers.netlify.com/t/deploy-triggered-from-repository-hosted-on-gitlab/1519/1 "2019-06-18T23:19:32Z")

</div>

I’ve only noticed this happening recently. I have my site connected with a gitlab repo. and whenever there’s a new push to the repo, my deploys are triggered twice. I watch them build and publish in series. I’ve attached a screenshot to demonstrate what I’m talking about. Anyone know how to fix this or what’s causing it?

 ![20%20PM](https://global.discourse-cdn.com/netlify/original/2X/5/5e772a0ae95845c1e31e1200f928283087d1b880.png)

---

<div class="post-metadata">

**Author:** ![philhawksworth](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/philhawksworth/32/29_2.png) [@philhawksworth](https://answers.netlify.com/u/philhawksworth)\
**Post date:** [June 19, 2019, 11:54am UTC](https://answers.netlify.com/t/deploy-triggered-from-repository-hosted-on-gitlab/1519/2 "2019-06-19T11:54:25Z")

</div>

Hey Jon,

I’ve seen this from time to time if somehow more than one webhook has been registered to initiate a build.

Take a look in your repo on GitLab and seek out the webhooks for your project. `https://YOUR_REPO_URL/-/settings/integrations`

If there is more than one netlify webhook registered, you should be able to just delete one of them so that your future activity only triggers one build at a time.

 ![45](https://global.discourse-cdn.com/netlify/original/2X/e/e18c3bd6de95fe81296a601fde54c2095e3f2441.png)

Could this be it?

---

<div class="post-metadata">

**Author:** ![jonchin](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/jonchin/32/1304_2.png) [@jonchin](https://answers.netlify.com/u/jonchin)\
**Post date:** [June 19, 2019, 12:46pm UTC](https://answers.netlify.com/t/deploy-triggered-from-repository-hosted-on-gitlab/1519/3 "2019-06-19T12:46:45Z")

</div>

Thanks! This did the trick!

It also explained why I couldn’t figure it out. I thought it was a Netlify setting / issue, not a GitLab setting, so I never thought to look there.

---

<div class="post-metadata">

**Author:** ![perry](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/perry/32/16_2.png) [@perry](https://answers.netlify.com/u/perry)\
**Post date:** [June 19, 2019, 3:22pm UTC](https://answers.netlify.com/t/deploy-triggered-from-repository-hosted-on-gitlab/1519/4 "2019-06-19T15:22:13Z")

</div>

thanks @philhawksworth! glad i worked out for you, @jonchin!
