update config file - https://gitlab.confdroid.com/internal/confdroid_management/-/issues/284
This commit is contained in:
@@ -8,17 +8,20 @@
|
|||||||
{ "source": "string", "name": "environment" },
|
{ "source": "string", "name": "environment" },
|
||||||
{ "source": "string", "name": "-pv" }
|
{ "source": "string", "name": "-pv" }
|
||||||
],
|
],
|
||||||
|
|
||||||
"trigger-rule": {
|
"trigger-rule": {
|
||||||
|
"and": [
|
||||||
|
{
|
||||||
"match": {
|
"match": {
|
||||||
"type": "payload-hash-sha1",
|
"type": "payload-hash-sha1",
|
||||||
"secret": "<%= @pt_webhook_secret %>"
|
"secret": "<%= @pt_webhook_secret %>"
|
||||||
}
|
}
|
||||||
"and": [
|
},
|
||||||
{ "match": {
|
{
|
||||||
|
"match": {
|
||||||
"type": "payload",
|
"type": "payload",
|
||||||
"parameter": "ref",
|
"parameter": "ref",
|
||||||
"value": "refs/heads/production" }
|
"value": "refs/heads/production"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user