Add mage v3 plugin (deployment)

This commit is contained in:
Stepan Strelets 2017-09-04 14:36:41 +03:00
commit 256b32bd81
3 changed files with 154 additions and 0 deletions

View file

@ -44,6 +44,7 @@ Plugins
* [IRC](plugins/irc.md) - `irc`
* [Lint](plugins/lint.md) - `lint`
* [Mage](plugins/mage.md) - `mage`
* [Mage v3](plugins/mage3.md) - `mage3`
* [MySQL](plugins/mysql.md) - `mysql`
* [Package Build](plugins/package_build.md) - `package_build`
* [PDepend](plugins/pdepend.md) - `pdepend`

32
docs/en/plugins/mage3.md Normal file
View file

@ -0,0 +1,32 @@
Plugin Mage v3
==============
Triggers a deployment of the project to run via [Mage v3](https://github.com/andres-montanez/Magallanes)
Configuration
-------------
### Options
* **env** [required, string] - The environment name
### Examples
```yaml
deploy:
mage3:
env: production
```
### Options for config.yml
* **bin** [optional, string] - The mage executable path
* **log_dir** [optional, string] - The mage logs path
### Examples
```yaml
mage:
bin: /usr/local/bin/mage
log_dir: ./var/log
```