Files
probot/docs/deployment.md
2017-03-19 23:19:09 -05:00

917 B

Deploy

Every plugin can either be deployed as a stand-alone bot, or combined with other plugins in one deployment.

Heads up! Note that most plugins in the @probot organization have an official hosted integration that you can use for your open source project. Use the hosted instance if you don't want to deploy your own.

Combining plugins

To deploy a bot that includes multiple plugins, create a new app that has the plugins listed as dependencies in package.json:

{
  "name": "my-probot",
  "priate": true,
  "dependencies": {
    "probot-autoresponder": "~1.0",
    "probot-configurer": "~1.0",
  },
  "scripts": {
    "run": "probot run"
 },
 "probot": {
   "plugins": [
     "probot-autoresponder",
     "probot-configurer"
   ]
 }
}

Heroku

TODO: Generic docs for deploying a plugin to Heroku