Skip to content

This is a simple microservice that listens to a webhook POST request and triggers a build for a specific CI project, like CircleCI, TravisCI or VSTS

License

Notifications You must be signed in to change notification settings

nimbletank/ci-deployment-microservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI Deployment microservice

This is a simple microservice that listens to a webhook POST request and triggers a build for a specific CI project, like CircleCI, TravisCI or VSTS

The microservice can be run on Node.js servers like now.sh

It is currently expecting a payload from Prismic CMS but it can be tailored to anything that you need.

Changing the Circle CI project

Update the POST_URL variable on line 4 of index.js to change the

Example curl request:

curl -X POST --header "Content-Type: application/json" -d '{"type":"api-update"}' https://circleci-webhook-microservice-aqbbkweovs.now.sh

Example curl response:

{"type":"api-update"}

Links

About

This is a simple microservice that listens to a webhook POST request and triggers a build for a specific CI project, like CircleCI, TravisCI or VSTS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published