I m setting up SVN on my local web development server and I’m wanting to create a post-commit hook that exports the repo to the production server (either via FTP, SSH, etc) when the commit message contains the word “deploy” or something similar. I know this has to be a common function for SVN but I can’t seem to find anything that does just this. Maybe another set of eyes will lead me to the correct solution…
Thanks in advance!
One thing I have done (on projects specifically designed for this type of release) is to checkout the project into my production server, then do an svn update on it when the code is ready to be moved to production.