From 03020563327db62bcbecadea700f5f534158cef3 Mon Sep 17 00:00:00 2001 From: joey Date: Thu, 29 Mar 2007 18:27:00 +0000 Subject: * Add --post-commit option, which allows for the case of a split web server and RCS server (or a push mirror). With this the RCS server can have a real post-commit hook that sshs back to the web server, and runs ikiwiki in post-commit mode to update the wiki. --- doc/usage.mdwn | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/usage.mdwn b/doc/usage.mdwn index 24a5515e0..3102245b2 100644 --- a/doc/usage.mdwn +++ b/doc/usage.mdwn @@ -86,6 +86,14 @@ These options control the mode that ikiwiki operates in. ikiwiki --setup ~/ikiwiki.setup --render foo.mdwn +* --post-commit + + Run in post-commit mode, the same as if called by a [[post-commit]] hook. + This is probably only useful when using ikiwiki with a web server on one host + and a repository on another, to allow the repository's real post-commit + hook to ssh to the web server host and manually run ikiwiki to update + the web site. + * --version Print ikiwiki's version number. @@ -117,7 +125,7 @@ configuration options of their own. Specify a mode to chmod the wrapper to after creating it. -* --notify +* --notify, --no-notify Enable email notification of commits. This should be used when running ikiwiki as a [[post-commit]] hook. -- cgit v1.2.3