diff --git a/deploy.php b/deploy.php index 04c2dd9..41f5660 100644 --- a/deploy.php +++ b/deploy.php @@ -36,6 +36,7 @@ task('build', function (): void { task('seo:sitemap', function (): void { run('cd {{release_path}} && php artisan thredary:sitemap'); }); + task('queue:restart', function (): void { run('cd {{release_path}} && php artisan queue:restart'); }); @@ -58,8 +59,8 @@ task('services:restart', function (): void { after('deploy:update_code', 'deploy:write_revision_file'); after('deploy:vendors', 'build'); after('deploy:symlink', 'artisan:clear'); -after('deploy:symlink', 'seo:sitemap'); -after('seo:sitemap', 'queue:restart'); +#after('deploy:symlink', 'seo:sitemap'); +#after('seo:sitemap', 'queue:restart'); after('deploy:symlink', 'queue:restart'); after('deploy:failed', 'deploy:unlock'); after('deploy:symlink', 'services:restart');