Skip to content

Latest commit

 

History

History
43 lines (36 loc) · 1.45 KB

File metadata and controls

43 lines (36 loc) · 1.45 KB

Plugin DeployerOrg

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 [string, required] - Stage or server name
  • task [string, optional] - Task name (default task is deploy)
  • verbosity [string, 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 [string, optional] - Filename of deployer configuration. For default deployer takes deploy.php if this field is not specified

Sample configuration

deploy:
    deployer_org_step:
        plugin: deployer_org
        development: # branch name
            task:    sample-task # optional, default task is deploy 
            stage:   dev # required, name of stage or server
            verbose: 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