From e50ea0ddc7c12a21739497d309cb5b5f4ac3e114 Mon Sep 17 00:00:00 2001 From: PouyaKhajavi Date: Mon, 10 Aug 2026 11:45:07 +0330 Subject: [PATCH] docs(ci): add hooks.json.example for automatic webhook deployment --- hooks.json.example | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 hooks.json.example diff --git a/hooks.json.example b/hooks.json.example new file mode 100644 index 0000000..cd5443e --- /dev/null +++ b/hooks.json.example @@ -0,0 +1,17 @@ +[ + { + "id": "deploy-divar", + "execute-command": "/projects/divar-crawler/deploy.sh", + "command-working-directory": "/projects/divar-crawler", + "trigger-rule": { + "match": { + "type": "value", + "value": "REPLACE_WITH_YOUR_SECRET_TOKEN", + "parameter": { + "source": "url", + "name": "token" + } + } + } + } +]