Question on how to go about pushing out our PHP code. Previously, we would simply run our test suite, commit changes, and then svn up on the productions servers to "push" out changes. I'd like to change this because I'm not too comfortable having svn on the production servers for multiple reasons.
I was thinking of just writing a script that does the followings: (would push out from svn server)
- svn export
- Tar and scp new code to production servers.
- ssh to production servers and unpack archive
Obviously overwriting all previous files in the process/cleaning up.
This would be speedy. Any bugs could easily be fixed, committed, and then just re-push the code back out to the servers (or revert a revision, etc). Any comments/suggestions/criticisms to this approach are appreciated. ;)