mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-24 09:12:51 +01:00
Added task for queue:restart
This commit is contained in:
parent
d2cbc89da3
commit
27687cff6d
@ -6,6 +6,9 @@
|
||||
### Fixed
|
||||
- Fixed scalar override on recursive option merge [#1003](https://github.com/deployphp/deployer/pull/1003)
|
||||
|
||||
### Changed
|
||||
- Add task queue:restart for Laravel recipe [#1007](https://github.com/deployphp/deployer/pull/1007)
|
||||
|
||||
## v4.2.1
|
||||
[v4.2.0...v4.2.1](https://github.com/deployphp/deployer/compare/v4.2.0...v4.2.1)
|
||||
|
||||
|
@ -98,6 +98,11 @@ task('artisan:optimize', function () {
|
||||
run('{{bin/php}} {{release_path}}/artisan optimize');
|
||||
});
|
||||
|
||||
desc('Execute artisan queue:restart');
|
||||
task('artisan:queue:restart', function () {
|
||||
run('{{bin/php}} {{release_path}}/artisan queue:restart');
|
||||
});
|
||||
|
||||
/**
|
||||
* Task deploy:public_disk support the public disk.
|
||||
* To run this task automatically, please add below line to your deploy.php file
|
||||
@ -133,6 +138,7 @@ task('deploy', [
|
||||
'artisan:view:clear',
|
||||
'artisan:cache:clear',
|
||||
'artisan:config:cache',
|
||||
'artisan:queue:restart',
|
||||
'artisan:optimize',
|
||||
'deploy:symlink',
|
||||
'deploy:unlock',
|
||||
|
Loading…
x
Reference in New Issue
Block a user