3 ms·
Question about the chat deploy bot: there are a few lines in there that look like this: hubot deploy github/ghost-down to production Is that deploying a b
by simonw 15y ago
Question about the chat deploy bot: there are a few lines in there that look like this:
hubot deploy github/ghost-down to production
Is that deploying a branch directly to production, or does that cause a branch to be merged with master and then master deployed to production? If the former, why deploy a branch directly rather than sticking to the "master is production" idea?
- kneath 15y agoIt's deploying a branch to production. If you think about it, this is completely the example of "master is production-ready" idea. We care so much about keeping master deployable, that if we have code that may have issues and need to be rolled back, we deploy just the branch. That way if things break, you can "roll back" to master and everything is good again.
- scorpion032 15y agoIn any case, you can always do a `git co hash`.