add new task to call artisan and refresh items cache
This commit is contained in:
parent
051339d34b
commit
daf5377525
@ -49,6 +49,11 @@ task('artisan:up', function() {})->setPrivate();
|
||||
task('artisan:view:cache', function() {})->setPrivate();
|
||||
task('artisan:view:clear', function() {})->setPrivate();
|
||||
|
||||
// custom task
|
||||
task('items:refresh', function () {
|
||||
run('cd {{release_path}} && php artisan items:refresh');
|
||||
});
|
||||
|
||||
// Tasks
|
||||
task('deploy', [
|
||||
'deploy:info',
|
||||
@ -60,6 +65,7 @@ task('deploy', [
|
||||
'deploy:vendors',
|
||||
'deploy:writable',
|
||||
'artisan:cache:clear',
|
||||
'items:refresh',
|
||||
'deploy:symlink',
|
||||
'deploy:unlock',
|
||||
'cleanup',
|
||||
|
Loading…
x
Reference in New Issue
Block a user