1
0
Fork 0
mirror of https://github.com/adnanh/webhook.git synced 2026-07-21 01:15:37 +00:00

added slack slash command

Adnan Hajdarević 2015-03-17 19:52:31 +01:00
parent d59fe71955
commit 50856ca475

@ -56,3 +56,28 @@ This page is still work in progress. Feel free to contribute!
}
]
```
# Slack slash command
```json
[
{
"id": "redeploy-webhook",
"execute-command": "/home/adnan/redeploy-go-webhook.sh",
"command-working-directory": "/home/adnan/go",
"response-message": "Executing redeploy script",
"trigger-rule":
{
"match":
{
"type": "value",
"value": "<YOUR-GENERATED-TOKEN>",
"parameter":
{
"source": "payload",
"name": "token"
}
}
}
}
]
```