Download the PHP package sy-records/git-deploy without Composer
On this page you can find all versions of the php package sy-records/git-deploy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download sy-records/git-deploy
More information about sy-records/git-deploy
Files in sy-records/git-deploy
Download sy-records/git-deploy
More information about sy-records/git-deploy
Files in sy-records/git-deploy
Vendor sy-records
Package git-deploy
Short Description Using WebHooks to automatically pull code.
License MIT
Package git-deploy
Short Description Using WebHooks to automatically pull code.
License MIT
Please rate this library. Is it a good library?
Informations about the package git-deploy
Git Deploy
🍭 Using WebHooks to automatically pull code.
Support
- [x] GitHub
- [x] Gitee
- [x] Gitea
- [x] GitLab
依赖
- php >= 7.1
- ext-swoole (可以直接使用 swoole-cli)
安装
配置
- 修改配置文件
config.json
server
对应的是Swoole\Http\Server
的相关配置
ip
:IP地址port
:端口mode
:启动模式SWOOLE_BASE/SWOOLE_PROCESS
settings
:Server的配置
正式运行时需要启动守护进程,将
daemonize
修改为1
sites
对应的是项目的仓库等信息
分为github
和gitee
,key
是仓库名称,支持多个仓库。
secret
/password
:密钥/密码;github
使用secret
,gitee
的 WebHook 密码使用password
,签名密钥使用secret
ref
:分支event_name
:事件名称;github
为push
,gitee
为push_hooks
shells
:需要执行的脚本
- 填写WebHook
URL:http://ip:port/github
or http://ip:port/gitee
Secret/PassWord:对应config.json
中的secret/password
启动
systemd
All versions of git-deploy with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1
ext-swoole Version >=4.0
ext-swoole Version >=4.0
The package sy-records/git-deploy contains the following files
Loading the files please wait ....