GitHub Flow via hubot. Chatting with hubot configures auto-deployment on GitHub and dispatches Deployment Events when criteria is met.
This script interacts with the GitHub API to manage the Automated Deployment service built in to GitHub services.
- Add hubot-auto-deploy to your
package.json
file. - Add hubot-auto-deploy to your
external-scripts.json
file.
You need to set the following environmental variables.
Environmental Variables | |
---|---|
HUBOT_GITHUB_TOKEN | A GitHub token with repo:deployment. The owner of this token creates Deployments. |
- Handle automated deployment of non-default branches.
- hubot - A chat robot with support for a lot of networks.
- heaven - Listens for Deployment events from GitHub and executes the deployment for you.
- hubot-deploy - Request deployments on GitHub from your chat client.