SVN post-commit deployment
Posted by: jon-)
Posted on: 2007-05-06 11:13:00
Hi, I've set up a SVN repository on the server for my website and my working copy of the site resides locally on my laptop.
What I want to be able to do is continue to work and test locally and then after changes are committed to the repository, have a post-commit hook on the server copy the changed files to my live website (or a script to run a SVN update on my live website - either of these would do.)
I'm just wondering if anyone is using SVN this way to do post commit deployment - is this the right thing to do? Or, perhaps someone can point me to some script that i can adapt ...
Jon