summaryrefslogtreecommitdiffstats
path: root/tv/2configs/git.nix
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-10-01 20:04:56 +0200
committertv <tv@shackspace.de>2015-10-01 20:04:56 +0200
commitcf80bdaf425c9757cf15496c62048125b1a2c822 (patch)
tree9316f65a96708e4e603eaeae5bc0c2f951eeae07 /tv/2configs/git.nix
parentd5d3c9f8b300c507e8464d4083679f02badbd25f (diff)
tv git: announce only via cd
Diffstat (limited to 'tv/2configs/git.nix')
-rw-r--r--tv/2configs/git.nix2
1 files changed, 1 insertions, 1 deletions
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;