<p>I have <code>ci</code>, so our staging environment builds itself.<br>
Should I have a script that not only builds production but does all the branching for it as well?<br>
When you have one code base on two different urls with skinning, should they be required to build at once?</p>

[{'answer_id': 29445, 'author': 'dwestbrook', 'author_id': 3119, 'author_profile': 'https://Stackoverflow.com/users/3119', 'pm_score': 2, 'selected': False, 'text': "<p>In my opinion anything the computer is capable of doing automatically it should do, because it can do it faster, easier and without thought from you. Within reason of course, but stuff like that can be very trivial to automate, so I've always been a proponent of automating that whole process.</p>\n\n<p>and plus it can be fun too!</p>\n"}, {'answer_id': 29449, 'author': 'jsight', 'author_id': 1432, 'author_profile': 'https://Stackoverflow.com/users/1432', 'pm_score': 4, 'selected': True, 'text': '<p>The only way to be too automated is if you are spending more time fighting with building or fixing automation scripts than you would just doing the job manually.  As long as your automation scripts take less time and produce fewer errors than doing the job manually, then automation is great.</p>\n\n<p>Scripts to build and branch for production are a great idea!</p>\n'}, {'answer_id': 29474, 'author': 'Brian Matthews', 'author_id': 1969, 'author_profile': 'https://Stackoverflow.com/users/1969', 'pm_score': 2, 'selected': False, 'text': '<p>I like to separate the build and deploy steps into two separate steps. The output of the build step should be a package that is placed in a repository or staging area. This package should be independent of the target environments. </p>\n\n<p>The deploy step is responsible for configuring the target environment and installing the package.</p>\n\n<p>The reasons I prefer this approach are:</p>\n\n<ul>\n<li>I have one package that can run in my development, test and production environments. That should cut down the arguments between QA and development.</li>\n<li>There may be different elements that need to be configured during deployment. Application server settings, database schemas, data loads, etc. that might not be as easy to do from the automated build script.</li>\n</ul>\n'}, {'answer_id': 29537, 'author': 'Daniel Auger', 'author_id': 1644, 'author_profile': 'https://Stackoverflow.com/users/1644', 'pm_score': 1, 'selected': False, 'text': "<p>In my opinion it's only too automated if no one in your production support group can deploy an application manually in a pinch. Automated deployments really cut down on simple but common errors such as configuration mistakes. However, a manual deployment must always be an option. </p>\n"}]
['https://Stackoverflow.com/questions/29423', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1220/']