Deployer
CLI tool for deployment on remote servers
Instalation
$ wget http://bit.ly/deployer-cli -O deployer.pharUsage
$ php deployer.phar deploy productionConfiguration
$ php deployer.phar initCreates something like:
# Environments
production:
servers:
app1:
type: ssh # local or webhook
host: app1.domain.com
user: deployer
path: /var/www/domain.com
steps:
Tests:
commands:
- bin/phpspec run -fpretty
success:
- echo "send email with output"
- echo "send notification on Slack"
# Run after any failure to deploy to destination (optional)
fail:
- echo "weep"Requirements
PHP 5.4.0 or above
Licence
Deployer is licensed under the MIT License - see the LICENSE file for details