Hubot script for GitHub Deployments.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
scripts
test
.gitignore
README.md
index.coffee
package.json

README.md

Hubot Deploy

This is a Hubot script for the GitHub Deployments API.

Install

  1. Add hubot-deploy to your package.json file:

    {
      "dependencies": {
        "hubot-deploy": "remind101/hubot-deploy"
      }
    }
  2. Add hubot-deploy to external-scripts.json:

    ["hubot-deploy"]
  3. Set the the following environment variables on your instance of hubot:

    GITHUB_TOKEN=:<api key>
    GITHUB_ORG=<your github organization>
    

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!