[ { "id": "thor-deploy", "execute-command": "/usr/bin/sudo", "pass-arguments-to-command": [ {"source": "string", "name": "/usr/local/bin/thor_deploy.sh"}, {"source": "payload", "name": "sha"}, {"source": "payload", "name": "ts"} ], "command-working-directory": "/", "include-command-output-in-response": false, "trigger-rule": { "and": [ {"match": {"type": "payload-hmac-sha256", "secret": "REPLACE_WITH_WEBHOOK_SECRET", "parameter": {"source": "header", "name": "X-Gitea-Signature"}}}, {"match": {"type": "value", "value": "refs/heads/main", "parameter": {"source": "payload", "name": "ref"}}} ] } } ]