Commit cae2b25c authored by Thomas Löffler's avatar Thomas Löffler
Browse files

[TASK] Adds typo3_console calls to deployer

parent 4548c1d8
Pipeline #188 passed with stages
in 1 minute and 43 seconds
...@@ -52,6 +52,13 @@ set('rsync_src', '/src/'); ...@@ -52,6 +52,13 @@ set('rsync_src', '/src/');
set('keep_releases', 10); set('keep_releases', 10);
serverList('/src/.gitlab-ci/deployer/servers.yml'); serverList('/src/.gitlab-ci/deployer/servers.yml');
task('typo3', function() {
run('cd {{release_path}} && bin/typo3cms database:updateschema');
run('cd {{release_path}} && bin/typo3cms language:update');
run('cd {{release_path}} && bin/typo3cms install:fixfolderstructure');
run('cd {{release_path}} && bin/typo3cms cache:flush');
});
task('deploy', [ task('deploy', [
'deploy:prepare', 'deploy:prepare',
'deploy:release', 'deploy:release',
...@@ -60,5 +67,6 @@ task('deploy', [ ...@@ -60,5 +67,6 @@ task('deploy', [
'deploy:shared', 'deploy:shared',
'deploy:writable', 'deploy:writable',
'deploy:symlink', 'deploy:symlink',
'cleanup' 'cleanup',
'typo3'
]); ]);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment