Skip to content

v0.2

Compare
Choose a tag to compare
@lorisleiva lorisleiva released this 21 Apr 08:52

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) and pull (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 your laravel.log without the error stacks. Of course, you can configure that behaviour via the log_lines and log_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

  1. Run php artisan deploy:init again to generate your new config/deploy.php file.
  2. 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 new config/deploy.php file.
  3. Delete your old deploy.php file at the root of your project.
  4. Deploy πŸš€