Trigger GitHub Deployments from Hubot.
hubot-deploy
looks for an apps.json
file in the root of your deployed hubot to map names to specific repos that should be deployed. Here's what the format looks like.
{
"hubot": {
"repository": "MyOrg/my-org-hubot",
"environments": ["production"],
"heroku_name": "my-orgs-hubot"
},
"dotcom": {
"repository": "MyOrg/www",
"environments": ["production","staging"],
"heroku_name": "my-org-www",
"heroku_staging_name": "my-org-www-staging"
}
}
Each entry can take a few attributes.
- environments: An array of environments that you can deploy to.
- heroku_name: The name of the heroku app to push to.
- heroku_staging_name: The name of the heroku app to push to.