2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-24 06:28:23 +01:00

update webhook

This commit is contained in:
kev
2019-01-09 18:59:22 +08:00
parent 308237e3ad
commit 15cec50abe
8 changed files with 30 additions and 59 deletions

7
webhook/data/hooks.json Normal file
View File

@@ -0,0 +1,7 @@
[
{
"id": "test",
"execute-command": "/etc/webhook/test.sh",
"command-working-directory": "/etc/webhook"
}
]

2
webhook/data/test.sh Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
echo 'hello world'