summaryrefslogtreecommitdiffstats
path: root/tv
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-04-17 11:48:54 +0200
committertv <tv@krebsco.de>2016-04-17 11:48:54 +0200
commiteb2bbcc30a74f4da9e72a29dd050ca954a4b232f (patch)
treedca413b9a2a6cfd3fc5207d7b3e5532e188af7c1 /tv
parent00ed5de34945b27465604b063d4cc50864b8500b (diff)
tv.git: irc-announce only at cd
Diffstat (limited to 'tv')
-rw-r--r--tv/2configs/git.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/tv/2configs/git.nix b/tv/2configs/git.nix
index 4c1fba5..2e5fc30 100644
--- a/tv/2configs/git.nix
+++ b/tv/2configs/git.nix
@@ -71,13 +71,13 @@ let
make-public-repo = name: { desc ? null, section ? null, ... }: {
inherit name desc section;
public = true;
- hooks = {
+ hooks = optionalAttrs (config.krebs.build.host.name == "cd") {
post-receive = pkgs.git-hooks.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";
+ verbose = true;
};
};
};