Fix deploy, each snip is a twig template that will be cached, but cant be generated if migrations did not run yet
This commit is contained in:
parent
7c4a2b46c0
commit
8553a06cd0
@ -25,6 +25,8 @@ set('allow_anonymous_stats', false);
|
||||
set('console_options', fn() => '--no-interaction');
|
||||
set('bin/console', fn() => parse('{{release_path}}/bin/console'));
|
||||
|
||||
set('composer_options', '--verbose --prefer-dist --no-progress --no-interaction --no-dev --optimize-autoloader --no-scripts');
|
||||
|
||||
// Hosts
|
||||
host('snips.loken.nl')
|
||||
->setRemoteUser('www-data')
|
||||
@ -60,9 +62,9 @@ desc('Deploy project');
|
||||
task('deploy', [
|
||||
'deploy:prepare',
|
||||
'deploy:vendors',
|
||||
'database:migrate',
|
||||
'cache:clear',
|
||||
'cache:warmup',
|
||||
'database:migrate',
|
||||
'deployment:log',
|
||||
'deploy:symlink',
|
||||
'deploy:unlock',
|
||||
|
Loading…
x
Reference in New Issue
Block a user