开发者

How to create git workflow on heroku?

开发者 https://www.devze.com 2023-02-13 09:00 出处:网络
Production ↑ Staging ↗↘开发者_StackOverflow社区 Development ↗↙ ↖↘ Developer1Developer2 How to create git workflow on heroku?It depends if you have one Git repo on the Heroku side, or several.
        Production        
            ↑             
         Staging          
           ↗↘     开发者_StackOverflow社区     
       Development        
         ↗↙ ↖↘          
  Developer1  Developer2  

How to create git workflow on heroku?


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).

0

精彩评论

暂无评论...
验证码 换一张
取 消