0

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?

2 Answers 2

1

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/

Sign up to request clarification or add additional context in comments.

Comments

0

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.