tm-hubot-semaphoreapp
v0.1.2
Published
Hubot integration with Semaphore (semaphoreapp.com)
Downloads
4
Maintainers
Readme
hubot-semaphoreapp
Hubot script to interface with Semaphore CI.
Installation
Add a dependency to your Hubot instance using NPM:
$ npm install --save hubot-semaphoreapp
Then add this script to the external-scripts.json
:
["hubot-semaphoreapp"]
You'll need to get an auth token from Semaphore and put it in your environment; you can find one in your project settings, under the "API" tab. For heroku, do this:
$ heroku config:set HUBOT_SEMAPHOREAPP_AUTH_TOKEN=<token>
If you want the deployment commands, you'll also need to set HUBOT_SEMAPHOREAPP_DEPLOY
to something non-zero.
Commands
> hubot semaphoreapp status [<project> [<branch>]] - Reports build status for projects' branches
> hubot deploy project[/branch] [to server] - deploys project/branch to server