Files
myAnsuran-KIK-JPPH-/deploy/hooks.json
2026-06-16 16:35:16 +08:00

28 lines
719 B
JSON

[
{
"id": "myansuran-deploy",
"execute-command": "/opt/myansuran/deploy/deploy.sh",
"command-working-directory": "/opt/myansuran",
"response-message": "Deploy myansuran dicetuskan.",
"include-command-output-in-response": false,
"trigger-rule": {
"and": [
{
"match": {
"type": "payload-hmac-sha256",
"secret": "GANTI_DENGAN_SECRET_RAHSIA",
"parameter": { "source": "header", "name": "X-Gitea-Signature" }
}
},
{
"match": {
"type": "value",
"value": "refs/heads/main",
"parameter": { "source": "payload", "name": "ref" }
}
}
]
}
}
]