fix(webhook): add webhook.json
This commit is contained in:
18
hooks.json
Normal file
18
hooks.json
Normal file
@@ -0,0 +1,18 @@
|
||||
[
|
||||
{
|
||||
"id": "zola-build",
|
||||
"execute-command": "zola",
|
||||
"command-working-directory": "/app",
|
||||
"pass-arguments-to-command": [{ "source": "string", "name": "build" }],
|
||||
"trigger-rule": {
|
||||
"match": {
|
||||
"type": "value",
|
||||
"value": "refs/heads/main",
|
||||
"parameter": {
|
||||
"source": "payload",
|
||||
"name": "ref"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user