TheDragonCode/laravel-deploy-operations

Execution of actions during deployment in two stages

andrey-helldar opened this issue · 1 comments

Feature description

Now the call of actions is carried out in one stage and you have to choose when to do it - before updating the symlink during zero-downtime deploy or after.

It is planned to add the possibility of a two-stage deployment.

For example with deployer:

task('deploy', [
    // ...
    'artisan:migrate',
    'artisan:migrate:actions --before', // here
    'deploy:publish',
    'php-fpm:reload',
    'artisan:queue:restart',
    'artisan:migrate:actions', // here
]);

Environment

No response

Coming soon :)