anorgan / deployer-cli
CLI tool to help deploy projects to remote servers
v0.2.0
2015-10-06 21:37 UTC
Requires
- php: >=5.4.0
- anorgan/deployer-common: *@dev
- psr/log: ^1.0.0
- symfony/console: ^2.7
- symfony/yaml: ^2.7
Requires (Dev)
- fabpot/php-cs-fixer: ^1.9
This package is not auto-updated.
Last update: 2024-12-21 19:42:47 UTC
README
CLI tool for deployment on remote servers
Instalation
$ wget http://bit.ly/deployer-cli -O deployer.phar
Usage
$ php deployer.phar deploy production
Configuration
$ php deployer.phar init
Creates 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