diff --git a/templates/r10k/hook_config.erb b/templates/r10k/hook_config.erb index 8654372..f362670 100644 --- a/templates/r10k/hook_config.erb +++ b/templates/r10k/hook_config.erb @@ -10,11 +10,15 @@ ], "trigger-rule": { - "match": { - "type": "payload", - "parameter": "ref", - "value": "refs/heads/production" - } + "and": [ + { + "match": { + "type": "payload", + "parameter": "ref", + "value": "refs/heads/production" + } + } + ] } } ]