https://github.com/ben/hubot-semaphoreapp
Hubot integration for Semaphore
https://github.com/ben/hubot-semaphoreapp
Last synced: about 1 year ago
JSON representation
Hubot integration for Semaphore
- Host: GitHub
- URL: https://github.com/ben/hubot-semaphoreapp
- Owner: ben
- Created: 2014-10-17T21:49:00.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-10-12T19:40:40.000Z (over 9 years ago)
- Last Synced: 2025-04-09T15:08:00.667Z (about 1 year ago)
- Language: CoffeeScript
- Size: 274 KB
- Stars: 4
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hubot-semaphoreapp
[Hubot](http://hubot.github.com/) script to interface with [Semaphore CI](https://www.semaphoreci.com/).
## Installation
Add a dependency to your Hubot instance using NPM:
```bash
$ npm install --save hubot-semaphoreapp
```
Then add this script to the `external-scripts.json`:
```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:
```bash
$ heroku config:set HUBOT_SEMAPHOREAPP_AUTH_TOKEN=
```
If you want the deployment commands, you'll also need to set `HUBOT_SEMAPHOREAPP_DEPLOY` to something non-zero.
## Commands
```
> hubot semaphoreapp status [ []] - Reports build status for projects' branches
> hubot deploy project[/branch] [to server] - deploys project/branch to server
```