1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:31 +02:00

Merge pull request #12 from serkin/add_scripts_to_webhook

Add template script and hook files
This commit is contained in:
Kev++ 2016-01-25 21:52:32 +08:00
commit fb31400650
3 changed files with 12 additions and 0 deletions

View File

@ -54,6 +54,8 @@ echo 'hello world'
```
$ cd ~/fig/webhook/
$ chmod +x scripts/test.sh
$ docker-compose up -d
Creating webhook_webhook_1...

View File

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

3
webhook/scripts/test.sh Normal file
View File

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