我有兴趣通过adnanh/webhook从GitLab部署在服务器中
我遵循配置
[
{
"id": "gitlab",
"execute-command": "echo",
"command-working-directory": "/home/developer",
"response-message": "success",
"include-command-output-in-response": true,
"pass-arguments-to-command": [
{
"source": "payload",
"name": "commits.0.id"
},
{
"source": "payload",
"name": "user_name"
},
{
"source": "payload",
"name": "user_email"
}
],
"trigger-rule": {
"match": {
"type": "value",
"value": "refs/heads/master",
"parameter": {
"source": "payload",
"name": "ref"
}
}
}
}
]
出现以下错误
不符合挂钩规则。