capslock-studio / node-deploy-server-php-pusher
Lightweight cross platform self-hosted deployment server solution client in PHP.
1.0.2
2016-11-20 04:37 UTC
Requires
- php: >=5.6.0
Requires (Dev)
- codeception/codeception: ^2.2
- internations/http-mock: ^0.8.1
- satooshi/php-coveralls: ^1.0
This package is not auto-updated.
Last update: 2025-02-15 22:01:37 UTC
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.