diff --git a/templates/r10k/hook_config.erb b/templates/r10k/hook_config.erb index d99fe69..8e9c691 100644 --- a/templates/r10k/hook_config.erb +++ b/templates/r10k/hook_config.erb @@ -8,19 +8,15 @@ { "source": "string", "name": "environment" }, { "source": "string", "name": "-pv" } ], - "trigger-rule": { "and": [ - { - "match": { - "type": "payload-hash-sha1", - "secret": "<%= @pt_webhook_secret %>" - } - }, { "match": { "type": "payload", - "parameter": "ref", + "parameter": { + "source": "body", + "name": "ref" + }, "value": "refs/heads/production" } }