mirror of
https://github.com/adnanh/webhook.git
synced 2026-07-26 17:19:17 +08:00
added flags to specify the hooks json file path, ip and port the webhook should serve on
This commit is contained in:
-40
@@ -1,40 +0,0 @@
|
||||
[
|
||||
{
|
||||
"id": "draos",
|
||||
"command": "dir",
|
||||
"secret": "",
|
||||
"trigger-rule": {
|
||||
"and": [
|
||||
{
|
||||
"match": {
|
||||
"parameter": "commits.100.id",
|
||||
"value": "20c16a7055dae65c69b9ca3f2e8cd1ac8fe9bbf2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"match": {
|
||||
"parameter": "ref",
|
||||
"value": "refs/heads/master"
|
||||
}
|
||||
},
|
||||
{
|
||||
"match": {
|
||||
"parameter": "repository.id",
|
||||
"value": "17341098"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "something",
|
||||
"command": "",
|
||||
"cwd": ".",
|
||||
"trigger-rule": {
|
||||
"match": {
|
||||
"parameter": "second",
|
||||
"value": "2"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user