The host's /etc/webhook/hooks.json was replaced on 2026-05-21 with a copy containing only lotus-deploy, which dropped matrix-deploy and cinny-build; this repo's copy had the opposite gap. No push to this repo has deployed to LXC 106 since May. The tracked file is now the union of all three. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PPmy3tPq869XDW4njjVaKA
65 lines
1.7 KiB
JSON
65 lines
1.7 KiB
JSON
[
|
|
{
|
|
"id": "matrix-deploy",
|
|
"execute-command": "/usr/local/bin/matrix-deploy.sh",
|
|
"command-working-directory": "/opt/matrix-config",
|
|
"response-message": "Deploying cinny config...",
|
|
"trigger-rule": {
|
|
"match": {
|
|
"type": "payload-hash-sha256",
|
|
"secret": "76dd5febd1cc3458545ce37537f4bfe26f241a9635b57a2cba183ebc9221230b",
|
|
"parameter": {
|
|
"source": "header",
|
|
"name": "X-Gitea-Signature"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "cinny-build",
|
|
"execute-command": "/usr/local/bin/cinny-build.sh",
|
|
"command-working-directory": "/opt/lotus-cinny",
|
|
"response-message": "Cinny merge + build triggered",
|
|
"trigger-rule": {
|
|
"match": {
|
|
"type": "value",
|
|
"value": "a82340fc2f07e6afda097494c34aa3a4877924932a0b063a76106fdab9816ec6",
|
|
"parameter": {
|
|
"source": "header",
|
|
"name": "X-Build-Token"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "lotus-deploy",
|
|
"execute-command": "/usr/local/bin/lotus_deploy.sh",
|
|
"command-working-directory": "/opt/lotus-cinny",
|
|
"response-message": "Deploying Lotus Chat...",
|
|
"trigger-rule": {
|
|
"and": [
|
|
{
|
|
"match": {
|
|
"type": "payload-hash-sha256",
|
|
"secret": "7b333a1bf4c02aacece65de00e6d8c3e86881f1254f4efa91aeddb82b67dd50f",
|
|
"parameter": {
|
|
"source": "header",
|
|
"name": "X-Gitea-Signature"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"match": {
|
|
"type": "value",
|
|
"value": "refs/heads/lotus",
|
|
"parameter": {
|
|
"source": "payload",
|
|
"name": "ref"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|