From 0fb4a388434748aaf89591c4398af9a517976726 Mon Sep 17 00:00:00 2001 From: shay7sev Date: Thu, 25 Sep 2025 16:35:42 +0800 Subject: [PATCH] fix(webhook): add webhook.json --- hooks.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 hooks.json diff --git a/hooks.json b/hooks.json new file mode 100644 index 0000000..1bf2f36 --- /dev/null +++ b/hooks.json @@ -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" + } + } + } + } +]