diff options
author | tv <tv@krebsco.de> | 2018-09-06 23:02:56 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2018-09-06 23:02:56 +0200 |
commit | aa04423e3a313271fca4d951d8717459e7969d60 (patch) | |
tree | 06695502d941bb023e495164fc4630207567c6f2 /lass/2configs/repo-sync.nix | |
parent | db5921f163c59673ae0307088cd14bdda836c6d8 (diff) |
irc-announce: whitelist refs instead of branches
Diffstat (limited to 'lass/2configs/repo-sync.nix')
-rw-r--r-- | lass/2configs/repo-sync.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lass/2configs/repo-sync.nix b/lass/2configs/repo-sync.nix index 6a07172fe..8b7d0db71 100644 --- a/lass/2configs/repo-sync.nix +++ b/lass/2configs/repo-sync.nix @@ -14,10 +14,12 @@ let hooks = mkIf announce (mkDefault { post-receive = pkgs.git-hooks.irc-announce { nick = config.networking.hostName; - verbose = false; channel = "#xxx"; + refs = [ + "refs/heads/newest" + ]; server = "irc.r"; - branches = [ "newest" ]; + verbose = false; }; }); }; |