Commit ca9d9ebb authored by Sascha Schmidt's avatar Sascha Schmidt
Browse files

Merge branch 'add_typo3_tasks_to_deployer' into 'develop'

[TASK] Adds typo3_console calls to deployer

See merge request !52
parents 8aae9437 cae2b25c
Pipeline #191 failed with stages
in 16 seconds
......@@ -52,6 +52,13 @@ set('rsync_src', '/src/');
set('keep_releases', 10);
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', [
'deploy:prepare',
'deploy:release',
......@@ -60,5 +67,6 @@ task('deploy', [
'deploy:shared',
'deploy:writable',
'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