mirror of
https://github.com/zhigang1992/probot.git
synced 2026-06-15 10:27:43 +08:00
917 B
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