diff options
author | tv <tv@krebsco.de> | 2016-04-17 11:48:54 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-04-17 11:48:54 +0200 |
commit | eb2bbcc30a74f4da9e72a29dd050ca954a4b232f (patch) | |
tree | dca413b9a2a6cfd3fc5207d7b3e5532e188af7c1 /tv | |
parent | 00ed5de34945b27465604b063d4cc50864b8500b (diff) |
tv.git: irc-announce only at cd
Diffstat (limited to 'tv')
-rw-r--r-- | tv/2configs/git.nix | 4 |
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; }; }; }; |