hooks
This commit is contained in:
14
hooks.json
14
hooks.json
@@ -1,7 +1,17 @@
|
||||
[
|
||||
{
|
||||
"id": "redeploy-apps",
|
||||
"execute-command": "/home/james/server-stack/deploy.sh",
|
||||
"command-working-directory": "/home/james/server-stack"
|
||||
"execute-command": "{{getenv \"HOME\"}}/server-stack/deploy.sh",
|
||||
"command-working-directory": "{{getenv \"HOME\"}}/server-stack",
|
||||
"trigger-rule": {
|
||||
"match": {
|
||||
"type": "payload-hmac-sha256",
|
||||
"secret": "{{getenv \"WEBHOOK_SECRET\"}}",
|
||||
"parameter": {
|
||||
"source": "header",
|
||||
"name": "X-Gitea-Signature"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user