Skip to content
This repository has been archived by the owner on Jun 5, 2018. It is now read-only.

ennova/sevabot-webhooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sevabot Webhooks

Testing Webhooks

Start the Sinatra app with Sevabot host and port configured:

SEVABOT_HOST=localhost SEVABOT_PORT=5000 shotgun

To test a webhook, run the following command in your terminal:

For GitHub post commits:

curl -X POST --data-urlencode payload@sample-files/github-post-commit.json http://localhost:9393/github-post-commit/:chat_id/:shared_secret

For Semaphore builds:

curl -X POST --data @sample-files/semaphore-build.json http://localhost:9393/semaphore-build/:chat_id/:shared_secret --header "Content-Type:application/json"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages