From ff90b0148838e6083580f68523579250ac9fe69d Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 1 Oct 2015 20:33:18 +0200 Subject: irc-announce: allow disabling just log and diff --- tv/2configs/git.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tv/2configs/git.nix') 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"; }; }; }; -- cgit v1.2.3