Dipak Panchal
Dipak Panchal

Reputation: 6026

Deploy Multiple branch on Heroku

I have a Heroku application that already deploy on Heroku (master-branch) in that I created new branch staging. The staging branch code are totally different with master. Now I want to deploy staging on Heroku but that will not affect on master. How can I do that?

Upvotes: 0

Views: 989

Answers (2)

hraynaud
hraynaud

Reputation: 736

You have to created separate applications on Heroku for each environment that you need. I typically create dev and staging using the free tier.

Here is blog post that walks you through the process: http://agilewarrior.wordpress.com/2014/05/16/how-to-create-a-staging-environment-heroku/

Upvotes: 1

bpereira
bpereira

Reputation: 1006

You can run heroku buildpacks:clear -a yourAppName and redeploy the app.

Upvotes: 0

Related Questions