Skip to content

让 supervisor 支持通过 webhook 来重启应用 #96

@jysperm

Description

@jysperm

这样如果项目托管在 Github 就可以配置 webhook, 当每次 push 更新的时候,重新启动应用。

同时提供一个 rp-node-deploy 脚本,用户在 supervisor 的 command 一项中填写 rp-node-deploy, 即可按顺序来执行 git pull, npm install, npm start.

除了 rp-node-deploy 之外还可以有 rp-make-deploy 等对其他语言的支持。

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions