Good Git deployment using branches strategy with Heroku?

前端 未结 3 1374
南方客
南方客 2021-01-29 23:49

What is a good deployment strategy to use with Git + Heroku (Ruby on Rails)?

Currently, the way I work with my origin Git repository: All features (or \'stories\') are f

3条回答
  •  走了就别回头了
    2021-01-30 00:12

    In the Gemcutter project we simply have a production branch. Any changes that we want to see on the production site get merged into that branch, and then deployed with:

    git push heroku production:master
    

    The staging branch serves a similar purpose for the staging site (also on Heroku)

提交回复
热议问题