# How to deploy specific branch (e.g develop) to a specific heroku project

**URL:** <https://discuss.circleci.com/t/how-to-deploy-specific-branch-e-g-develop-to-a-specific-heroku-project/42436>\
**Category:** Deployments\
**Created:** [January 2, 2022, 7:08pm UTC](https://discuss.circleci.com/t/how-to-deploy-specific-branch-e-g-develop-to-a-specific-heroku-project/42436 "2022-01-02T19:08:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![seyaobey-dev](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/seyaobey-dev/32/29040_2.png) [@seyaobey-dev](https://discuss.circleci.com/u/seyaobey-dev)\
**Post date:** [January 2, 2022, 7:08pm UTC](https://discuss.circleci.com/t/how-to-deploy-specific-branch-e-g-develop-to-a-specific-heroku-project/42436/1 "2022-01-02T19:08:47Z")

</div>

I use circleci to build and deploy my nodejs app from bitbucket to heroku. Until now I have been using a simple orbs for this task:

```auto
version: 2.1
orbs:
  heroku: circleci/heroku@0.0.1
workflows:
  heroku_deploy:
    jobs:
      - heroku/deploy-via-git

```

Now I am about to have 2 heroku projects: stating and master. How can I setup circleci so that each push to `bitbucket develop` triggers a deploy to `heroku staging` and each push to `bitbucket master` triggers a deploy to `heroku production`?
