3 Star 1 Fork 6

胖子AK / webhooks

Create your Gitee Account
Explore and code with more than 8 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
readme.md

Webhooks-git.oschina.net

专为git.oschina.net制作的git钩子服务端。

服务器需要安装nodejs

然后把这个项目布置到服务器上。

npm install

node app.js

推荐使用 forever 来后台启动进程.

##app设置

//自定义参数

var password = '123123123'; //提交密码

var releasewords = 'release'; //发布关键字,只有包含关键字的message才会发布到环境中

##.sh文件设置

deploy.sh中

28行 cd /home/www/$PROJECT_NAME

/home/www/请修改成自己的项目群目录

会根据请示地址中p的参数,对这个目录下的参数项目进行git pull

##PUSH钩子设置

钩子地址:IP/deploy/?p=项目名字.

密码:自定义

##其它 提供了简单的提交日志功能 ./access.log

About

专为git.oschina.net制作的git钩子服务端。 expand collapse
NodeJS
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
NodeJS
1
https://gitee.com/dokak47/webhooks.git
git@gitee.com:dokak47/webhooks.git
dokak47
webhooks
webhooks
master

Search