feat: generate image thumbnails after deployment
This commit is contained in:
@@ -92,6 +92,7 @@ task('deploy', [
|
||||
'database:migrate',
|
||||
'deploy:publish',
|
||||
'cachetool:clear:opcache',
|
||||
'deploy:thumbnails',
|
||||
// 'deploy:stop-workers',
|
||||
]);
|
||||
|
||||
@@ -103,4 +104,8 @@ task('deploy:assets', function () {
|
||||
runLocally('npm i && npm run build');
|
||||
});
|
||||
|
||||
task('deploy:thumbnails', function () {
|
||||
run('{{bin/console}} app:generate-thumbnails');
|
||||
});
|
||||
|
||||
after('deploy:failed', 'deploy:unlock');
|
||||
|
||||
Reference in New Issue
Block a user