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",