diff options
author | tv <tv@shackspace.de> | 2015-10-01 20:33:18 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-10-01 20:34:28 +0200 |
commit | 4d1aebc740ffc35f97060c60e43300b9d60b5229 (patch) | |
tree | 573f76f21aa8146f8b983550b588de186bf9a513 /tv/2configs/git.nix | |
parent | cf80bdaf425c9757cf15496c62048125b1a2c822 (diff) |
irc-announce: allow disabling just log and diff
Diffstat (limited to 'tv/2configs/git.nix')
-rw-r--r-- | tv/2configs/git.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tv/2configs/git.nix b/tv/2configs/git.nix index da9f70629..401cf5f4d 100644 --- a/tv/2configs/git.nix +++ b/tv/2configs/git.nix @@ -58,12 +58,13 @@ let make-public-repo = name: { desc ? null, ... }: { inherit name desc; public = true; - hooks = optionalAttrs (config.krebs.build.host.name == "cd") { + hooks = { post-receive = git.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"; }; }; }; |