# Do "tag" triggers interact with "branch" triggers?

**URL:** <https://discuss.circleci.com/t/do-tag-triggers-interact-with-branch-triggers/401>\
**Category:** Build Environment\
**Tags:** git\
**Created:** [November 6, 2015, 3:12am UTC](https://discuss.circleci.com/t/do-tag-triggers-interact-with-branch-triggers/401 "2015-11-06T03:12:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Charles](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/charles/32/276_2.png) [@Charles](https://discuss.circleci.com/u/Charles)\
**Post date:** [November 6, 2015, 3:12am UTC](https://discuss.circleci.com/t/do-tag-triggers-interact-with-branch-triggers/401/1 "2015-11-06T03:12:59Z")

</div>

I’m trying to trigger a build based on a tag, but the tag is on a commit in a branch. When I push the tag, it doesn’t seem to trigger the build.

```
deploy:
  prodish:
    tag: /prodish-.*/
    commands:
      - ...
  dev:
    branch: dev_branch
    commands:
      - ...

```

If I push to `dev_branch` it triggers the dev\_branch section, but if I then tag a specific commit in the `dev_branch` with `prodish-v1.0.0` for example, it doesn’t trigger the `prodish` section.

I’m trying to build an artifact in the `dev` section, and then deploy that same artifact without rebuilding it in my deployment pipeline to the next stage once I’m happy with it.

---

<div class="post-metadata">

**Author:** ![Charles](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/charles/32/276_2.png) [@Charles](https://discuss.circleci.com/u/Charles)\
**Post date:** [November 6, 2015, 6:49am UTC](https://discuss.circleci.com/t/do-tag-triggers-interact-with-branch-triggers/401/2 "2015-11-06T06:49:12Z")

</div>

Figured it out. Builds triggered by tags only show up on the top level project link, they don’t create a line of their own, and they don’t show up on a branch if you tagged a commit on that branch.

---

<div class="post-metadata">

**Author:** ![levlaz](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/levlaz/32/36978_2.png) [@levlaz](https://discuss.circleci.com/u/levlaz)\
**Post date:** [November 6, 2015, 7:01pm UTC](https://discuss.circleci.com/t/do-tag-triggers-interact-with-branch-triggers/401/3 "2015-11-06T19:01:08Z")

</div>

Glad you figured it out, thanks for posting the solution 🙂

---

<div class="post-metadata">

**Author:** ![kevinrenskers](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/kevinrenskers/32/13148_2.png) [@kevinrenskers](https://discuss.circleci.com/u/kevinrenskers)\
**Post date:** [May 31, 2016, 1:20pm UTC](https://discuss.circleci.com/t/do-tag-triggers-interact-with-branch-triggers/401/4 "2016-05-31T13:20:55Z")

</div>

I actually have the same problem, my build isn’t running when pushing a new tag.

```auto
deployment:
  production:
    tag: /production-.*/
    commands:
      - npm run build production
      - ./deploy_production.sh
  staging:
    branch: develop
    commands:
      - npm run build staging
      - ./deploy_staging.sh

```

When I added a commit to my develop branch, it got built and deployed to staging. But when I then tag that commit and push the tag, it does not trigger a production build. Nothing is happening in the dashboard at all.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [June 18, 2018, 11:37am UTC](https://discuss.circleci.com/t/do-tag-triggers-interact-with-branch-triggers/401/5 "2018-06-18T11:37:34Z")

</div>


