capslock-studio/node-deploy-server-php-pusher
Composer 安装命令:
composer require capslock-studio/node-deploy-server-php-pusher
包简介
Lightweight cross platform self-hosted deployment server solution client in PHP.
README 文档
README
Installation
composer global require capslock-studio/node-deploy-server-php-pusher dev-master
ln -s $HOME/.composer/vendor/bin/deploy-pusher /usr/local/bin/deploy-pusher
How to use
DEPLOY_HOST={DEFINE_YOUR_NODE_DEPLOY_SERVER} SECRET={DEFINE_YOUR_SECRET} DIST={REMOTE_SERVER_DEPLOY_PATH} deploy-pusher [PARAMETER_WITH_DOUBLE_DASH]
Windows user
set DEPLOY_HOST={DEFINE_YOUR_NODE_DEPLOY_SERVER} set SECRET={DEFINE_YOUR_SECRET} set DIST={REMOTE_SERVER_DEPLOY_PATH} php .\deploy-pusher [PARAMETER_WITH_DOUBLE_DASH]
Shell Parameters
--tag- Specify the tag you want to deploy--rollback- Rollback to the previous version--config- Load parameter from JSON file--command- Commands you will execute after deploy successfully.(multiple)--ignore- Folders you want to keep.(multiple)
ENV
SECRET- Secret key to encrypt json payload.DEPLOY_HOST- Server you want to deploy!
Supported CI platform
- TravisCI
- Jenkins
- CircleCI
Other CI platform
You have to assign REPO and OWNER to your environment variable in other CI tool.
统计信息
- 总下载量: 58
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-11-11