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" + } + } + } + } +]