updaetd deployer
This commit is contained in:
+3
-2
@@ -36,6 +36,7 @@ task('build', function (): void {
|
|||||||
task('seo:sitemap', function (): void {
|
task('seo:sitemap', function (): void {
|
||||||
run('cd {{release_path}} && php artisan thredary:sitemap');
|
run('cd {{release_path}} && php artisan thredary:sitemap');
|
||||||
});
|
});
|
||||||
|
|
||||||
task('queue:restart', function (): void {
|
task('queue:restart', function (): void {
|
||||||
run('cd {{release_path}} && php artisan queue:restart');
|
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:update_code', 'deploy:write_revision_file');
|
||||||
after('deploy:vendors', 'build');
|
after('deploy:vendors', 'build');
|
||||||
after('deploy:symlink', 'artisan:clear');
|
after('deploy:symlink', 'artisan:clear');
|
||||||
after('deploy:symlink', 'seo:sitemap');
|
#after('deploy:symlink', 'seo:sitemap');
|
||||||
after('seo:sitemap', 'queue:restart');
|
#after('seo:sitemap', 'queue:restart');
|
||||||
after('deploy:symlink', 'queue:restart');
|
after('deploy:symlink', 'queue:restart');
|
||||||
after('deploy:failed', 'deploy:unlock');
|
after('deploy:failed', 'deploy:unlock');
|
||||||
after('deploy:symlink', 'services:restart');
|
after('deploy:symlink', 'services:restart');
|
||||||
|
|||||||
Reference in New Issue
Block a user