doc: expand Heroku instructions (#5275)
This commit is contained in:
parent
a4bed8741b
commit
79b2bc6466
|
|
@ -184,8 +184,15 @@ Then repeat the installation steps
|
|||
|
||||
## Deploy to Heroku
|
||||
|
||||
### Instant deploy (without automatic update)
|
||||
[](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)
|
||||
|
||||
[](https://vercel.com/import/project?template=https://github.com/DIYgod/RSSHub)
|
||||
|
|
|
|||
|
|
@ -186,8 +186,15 @@ $ git pull
|
|||
|
||||
## 部署到 Heroku
|
||||
|
||||
### 一键部署(无自动更新)
|
||||
[](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)
|
||||
|
||||
[](https://vercel.com/import/project?template=https://github.com/DIYgod/RSSHub)
|
||||
|
|
|
|||
Loading…
Reference in New Issue