From a6b04ffdc5689f37826428b99df13b96ec180bdc Mon Sep 17 00:00:00 2001 From: shay7sev Date: Thu, 25 Sep 2025 16:51:09 +0800 Subject: [PATCH] fix(webhook): fix json --- hooks.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hooks.json b/hooks.json index 1bf2f36..fd9101d 100644 --- a/hooks.json +++ b/hooks.json @@ -1,9 +1,12 @@ [ { "id": "zola-build", - "execute-command": "zola", + "execute-command": "/bin/sh", "command-working-directory": "/app", - "pass-arguments-to-command": [{ "source": "string", "name": "build" }], + "pass-arguments-to-command": [ + { "source": "string", "name": "-c" }, + { "source": "string", "name": "git pull origin main && zola build" } + ], "trigger-rule": { "match": { "type": "value",