ket4yii / phpci-deployer-plugin
Simple deployer(deployer.org) plugin for PHPCI
0.3.4
2017-03-17 00:02 UTC
Requires (Dev)
- jakub-onderka/php-parallel-lint: ^0.9.2
This package is not auto-updated.
Last update: 2024-09-28 18:48:02 UTC
README
Simple plugin for Deployer
How to use
Keyword of this plugin is simple. It means that you just need to define branch for configuration task name(if there is no task, plugin takes default value that is "deploy"), stage name(it would be just server name or defined stage) , verbosity level(for default is normal) and filename(by default deployer takes the deployer.php file)
Plugin options
- stage(required) - Stage or server name
- task(optional) - Task name (default task is deploy)
- verbosity(optional) - Add verbose mode to plugin execution (default is no verbose that equal to normal in the option list of values below)
- normal
- verbose
- very verbose
- debug
- quiet
- file(optional) - Filename of deployer configuration. For default deployer takes deploy.php if this field is not specified
Sample configuration
\Ket4yii\PHPCI\Deployer\Plugin\Deployer:
development: # branch name
task: sample-task # optional, default task is deploy
stage: dev # required, name of stage or server
verbosity: debug # optional, default is normal(no verbosity)
file: .deploy_config.php # optional, deployer takes the deploy.php file for default
master:
stage: prod #required, name of stage or server