1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
[{
"id": "deploy",
"execute-command": "/data/www/example.com/git/bin/hook/deploy.rb",
"pass-arguments-to-command": [{
"source": "payload",
"name": "time"
}],
"pass-environment-to-command": [{
"source": "string",
"envname": "DEPLOY_HTDOCS_PATH",
"name": "/data/www/example.com/htdocs"
}, {
"source": "string",
"envname": "DEPLOY_REPO_DIR",
"name": "/data/www/example.com/git"
}, {
"source": "string",
"envname": "DEPLOY_BUILDS_DIR",
"name": "/data/www/example.com/builds"
}],
"trigger-rule": {
"match": {
"type": "payload-hmac-sha256",
"secret": "omitted",
"parameter": {
"source": "header",
"name": "X-Hub-Signature"
}
}
}
}]
|