doc: expand Heroku instructions (#5275)

This commit is contained in:
Yishuai Li 2020-07-29 09:34:20 -04:00 committed by GitHub
parent a4bed8741b
commit 79b2bc6466
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 0 deletions

View File

@ -184,8 +184,15 @@ Then repeat the installation steps
## Deploy to Heroku
### Instant deploy (without automatic update)
[![Deploy to Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https%3A%2F%2Fgithub.com%2FDIYgod%2FRSSHub)
### Automatic deploy upon update
1. [Fork RSSHub](https://github.com/login?return_to=%2FDIYgod%2FRSSHub) to your GitHub account.
2. Deploy your fork to Heroku: `https://heroku.com/deploy?template=URL`, where `URL` is your fork address (_e.g._ `https://github.com/USERNAME/RSSHub`).
3. Configure `automatic deploy` in Heroku app to follow the changes to your fork.
4. Install [Pull](https://github.com/apps/pull) app to keep your fork synchronized with RSSHub.
## Deploy to Vercel(Zeit Now)
[![Deploy to Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/DIYgod/RSSHub)

View File

@ -186,8 +186,15 @@ $ git pull
## 部署到 Heroku
### 一键部署(无自动更新)
[![Deploy to Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https%3A%2F%2Fgithub.com%2FDIYgod%2FRSSHub)
### 自动更新部署
1. 将 RSSHub [分叉fork](https://github.com/login?return_to=%2FDIYgod%2FRSSHub) 到自己的账户下。
2. 把自己的分叉部署到 Heroku`https://heroku.com/deploy?template=URL`,其中 `URL` 改为分叉地址(例如 `https://github.com/USERNAME/RSSHub`)。
3. 检查 Heroku 设置,随代码库更新自动部署。
4. 安装 [Pull](https://github.com/apps/pull) 应用,定期将 RSSHub 改动自动同步至你的分叉。
## 部署到 Vercel (Zeit Now)
[![Deploy to Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/DIYgod/RSSHub)