Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create git workflow on heroku?

        Production        
            ↑             
         Staging          
           ↗↘          
       Development        
         ↗↙ ↖↘          
  Developer1  Developer2  

How to create git workflow on heroku?

like image 846
ritesh Avatar asked Nov 14 '22 02:11

ritesh


1 Answers

It depends if you have one Git repo on the Heroku side, or several.

With several repo, you can assign each one for a step in the development lifecycle.
But considering the architecture behind a Git repo, it might be easier to manage your dynos in relation with one repo (see here for more on Dynos).

That means you can define one branch per development steps (one dev branch, one staging branch, one prod branch) on the Heroku side (in your local repo, you can have as many branches as you need).

like image 129
VonC Avatar answered Dec 23 '22 17:12

VonC