Re: Updating a live website with a post-commit hook script
From: Bob Proulx <bob_at_proulx.com>
Date: 2006-06-29 08:54:43 CEST
Graham Anderson wrote:
I don't know if official examples exist but the implementation is
> 2) Does this comply with a 'best practices' use for subversion ? At
Yes. This is a best practice. It is recommended in the FAQ as you
http://subversion.tigris.org/faq.html#website-auto-update
Let's assume a subversion repository at /srv/svn/www and a web
#!/bin/sh
A very simple process. Change directory to the live web working copy
This process will run as the web process uid. On my machine that
Of course you don't need to use the https:// protocol to update. You
If you use svn+ssh:// then the post-commit is run as the committing
Hope that helps!
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.