From cf80bdaf425c9757cf15496c62048125b1a2c822 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 1 Oct 2015 20:04:56 +0200 Subject: tv git: announce only via cd --- tv/2configs/git.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tv/2configs') diff --git a/tv/2configs/git.nix b/tv/2configs/git.nix index 5f5fae483..da9f70629 100644 --- a/tv/2configs/git.nix +++ b/tv/2configs/git.nix @@ -58,7 +58,7 @@ let make-public-repo = name: { desc ? null, ... }: { inherit name desc; public = true; - hooks = { + hooks = optionalAttrs (config.krebs.build.host.name == "cd") { post-receive = git.irc-announce { # TODO make nick = config.krebs.build.host.name the default nick = config.krebs.build.host.name; -- cgit v1.2.3