fix(webhook): add webhook.json

This commit is contained in:
2025-09-25 16:35:42 +08:00
parent 8018c7930d
commit 0fb4a38843

18
hooks.json Normal file
View 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"
}
}
}
}
]