X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/2aaab7db29f154816d6338a1329b42090209d966..c0f8126143852a2b1e47e2b8a7310ef6bd43bf18:/doc/post-commit.mdwn diff --git a/doc/post-commit.mdwn b/doc/post-commit.mdwn index 8dff290fd..93d851959 100644 --- a/doc/post-commit.mdwn +++ b/doc/post-commit.mdwn @@ -1,3 +1,7 @@ +A post-commit hook is run every time you commit a change to your subversion +repository. To make the wiki be updated each time a commit is made, it can +be run from (or as) a post-commit hook. + The best way to run ikiwiki in a [[Subversion]] post-commit hook is using a wrapper, which can be generated using `ikiwiki --wrapper`. @@ -24,3 +28,5 @@ getting called by users who have write access to subversion, but not to your wiki checkout and html directory. If so, you can safely make ikiwiki-wrap suid to a user who can write there (*not* to root!). You might want to read [[Security]] first. + +[[setup]] explains setting this up in more detail.