oschina-webhook
v1.0.15
Published
oschina-webhook
Readme
oschina-webhook
安装
需要运行
npm install -g oschina-webhook默认启动
oschina-webhook后台运行:
oschina-webhook -d所有命令选项:
Usage: oschina-webhook [options]
Options:
-h, --help output usage information
-V, --version output the version number
-p, --port [port] Set the port number to use. Defaults to 9001
-c, --configfile [configfile] Set the path to the config file to be used. Default to ./webhook.json
-d, --daemon Run the oschina-webhook as a deamon
-s, --stop Stop oschina-webhook that was run as a deamon
-l, --log <log> Where to log配置
默认webhook.json配置文件
{ "log":"/Users/zzz/Documents/zz_work/oschina-webhook/1.log", "deploy": { "basepath": "/Users/zzz/Documents/zz_work/oschina-webhook", "command": "./1.sh" } }
