I am trying to figure out how to auto update a remote website (hosted on a Windows 2008 server) whenever changes are committed to the remote repository (located on same).
I am using this batch file in a post-commit hook...
"C:\Program Files (x86)\VisualSVN Server\bin\svn.exe" update --username usera --password passa --config-dir "C:\Program Files (x86)\VisualSVN Server\conf"
If I run this locally at the command prompt, on the remote server, logged in as Administrator, it works. If I run it remotely, by doing an svn update from TortoiseSVN, the batch file fires, but no update occurs and no error messages are shown.
I have found a few websites explaining how to do this in an apache/linux/unix environment (see links below), but how can I do this in an IIS/windows environment using VisualSVN?
Has anyone got this to work in a Windows environment?