https://github.com/remind101/hubot-deploy
Hubot script for GitHub Deployments.
https://github.com/remind101/hubot-deploy
Last synced: over 1 year ago
JSON representation
Hubot script for GitHub Deployments.
- Host: GitHub
- URL: https://github.com/remind101/hubot-deploy
- Owner: remind101
- Created: 2014-03-14T17:52:12.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2015-04-10T22:55:43.000Z (over 11 years ago)
- Last Synced: 2025-04-05T20:01:39.348Z (over 1 year ago)
- Language: CoffeeScript
- Homepage:
- Size: 352 KB
- Stars: 6
- Watchers: 92
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hubot Deploy
This is a [Hubot](https://github.com/github/hubot) script for the [GitHub Deployments API](https://developer.github.com/v3/repos/deployments/).
## Install
1. Add hubot-deploy to your package.json file:
```json
{
"dependencies": {
"hubot-deploy": "remind101/hubot-deploy"
}
}
```
2. Add `hubot-deploy` to external-scripts.json:
```json
["hubot-deploy"]
```
3. Set the the following environment variables on your instance of hubot:
```
GITHUB_TOKEN=:
GITHUB_ORG=
```
## Usage
Deploy an app to production:
```
hubot deploy app
hubot deploy app to production
```
Deploy a topic branch to staging:
```
hubot deploy app#topic to staging
```
Force deploy a branch to staging:
```
hubot deploy app to staging!
```