summaryrefslogtreecommitdiffstats
path: root/tv/2configs
diff options
context:
space:
mode:
Diffstat (limited to 'tv/2configs')
-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;