tv git: announce only via cd

This commit is contained in:
tv 2015-10-01 20:04:56 +02:00
parent d5d3c9f8b3
commit cf80bdaf42

View File

@ -58,7 +58,7 @@ let
make-public-repo = name: { desc ? null, ... }: { make-public-repo = name: { desc ? null, ... }: {
inherit name desc; inherit name desc;
public = true; public = true;
hooks = { hooks = optionalAttrs (config.krebs.build.host.name == "cd") {
post-receive = git.irc-announce { post-receive = git.irc-announce {
# TODO make nick = config.krebs.build.host.name the default # TODO make nick = config.krebs.build.host.name the default
nick = config.krebs.build.host.name; nick = config.krebs.build.host.name;