-
Notifications
You must be signed in to change notification settings - Fork 51
Expand file tree
/
Copy pathhook.json
More file actions
37 lines (37 loc) · 786 Bytes
/
Copy pathhook.json
File metadata and controls
37 lines (37 loc) · 786 Bytes
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
35
36
37
[
{
"id": "deploy-databootcamp",
"execute-command": "/home/sglyon/Teaching/Data_Bootcamp/website/deploy.sh",
"command-working-directory": "/home/sglyon/Teaching/Data_Bootcamp/website",
"trigger-rule":
{
"and":
[
{
"match":
{
"type": "payload-hash-sha1",
"secret": "databootcamp",
"parameter":
{
"source": "header",
"name": "X-Hub-Signature"
}
}
},
{
"match":
{
"type": "value",
"value": "refs/heads/master",
"parameter":
{
"source": "payload",
"name": "ref"
}
}
}
]
}
}
]