diff options
author | tv <tv@krebsco.de> | 2015-10-01 20:33:18 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2015-10-01 20:34:28 +0200 |
commit | ff90b0148838e6083580f68523579250ac9fe69d (patch) | |
tree | b2eae440bad11d8ce66359c3629d1c672c82624c /tv/2configs | |
parent | 7a93ce9b41b26919385ac1805870dec885fca18d (diff) |
irc-announce: allow disabling just log and diff
Diffstat (limited to 'tv/2configs')
-rw-r--r-- | tv/2configs/git.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tv/2configs/git.nix b/tv/2configs/git.nix index da9f706..401cf5f 100644 --- a/tv/2configs/git.nix +++ b/tv/2configs/git.nix @@ -58,12 +58,13 @@ let make-public-repo = name: { desc ? null, ... }: { inherit name desc; public = true; - hooks = optionalAttrs (config.krebs.build.host.name == "cd") { + hooks = { post-receive = git.irc-announce { # TODO make nick = config.krebs.build.host.name the default nick = config.krebs.build.host.name; channel = "#retiolum"; server = "cd.retiolum"; + verbose = config.krebs.build.host.name == "cd"; }; }; }; |