v0.2
What's new?
-
π New configuration file. Configure your deployments via a traditional
config/deploy.php
file. In there you can configure your hosts, options, hooks, default strategy and even create new strategies without having to get your hand dirty in the Deployer namespace. -
πDeployment strategies. Choose amongst several deployment strategies or create your own strategies. Supported so far:
basic
(the default strategy of v0.1),firstdeploy
(for migrating folder structure when using Laravel Deployer for the first time),local
(for building assets locally before uploading them) andpull
(for a quick no-zero-downtime git pull on the server). -
π Dump that laravel.log without connecting to your server. Simply run
php artisan logs
and it will dump the last 200 lines of yourlaravel.log
without the error stacks. Of course, you can configure that behaviour via thelog_lines
andlog_command
options. -
π₯ Useful information in the console. Upon deployment of every host, get an information message that let you know which strategy is being used for that particular deployment. Get the total execution time of your deployments in a success message.
How to upgrade from v0.1
- Run
php artisan deploy:init
again to generate your newconfig/deploy.php
file. - Compare this with your previous
deploy.php
file at the root of your project. If you've manually added some hooks or customised some options, make sure you reflect those changes on the newconfig/deploy.php
file. - Delete your old
deploy.php
file at the root of your project. - Deploy π