chore: cleanup deployer config
This commit is contained in:
+7
-10
@@ -8,9 +8,7 @@ require 'contrib/cachetool.php';
|
||||
set('typo3_webroot', 'public');
|
||||
set('application', 'ep-reisen-typo3');
|
||||
set('repository', '[email protected]:dreipunktnull/ep-reisen');
|
||||
|
||||
set('git_tty', false);
|
||||
set('ssh_type', 'native');
|
||||
set('keep_releases', 3);
|
||||
|
||||
add('shared_files', [
|
||||
'{{typo3_webroot}}/typo3conf/LocalConfiguration.php',
|
||||
@@ -101,19 +99,18 @@ task('deploy', [
|
||||
'deploy:release',
|
||||
'deploy:assets:build',
|
||||
'rsync',
|
||||
'deploy:clear_paths',
|
||||
'deploy:shared',
|
||||
'deploy:writable',
|
||||
'typo3:database:migrate',
|
||||
'typo3:language:update',
|
||||
'typo3:cache:flush',
|
||||
'deploy:symlink',
|
||||
'deploy:publish',
|
||||
'deploy:buspronet:symlink',
|
||||
'deploy:unlock',
|
||||
'cachetool:clear:opcache',
|
||||
]);
|
||||
|
||||
task('deploy:buspronet:symlink', function () {
|
||||
run('ln -s {{buspronet_path}} {{release_path}}/public/buchung');
|
||||
run('ln -s {{buspronet_path}} {{release_or_current_path}}/public/buchung');
|
||||
});
|
||||
|
||||
task ('deploy:assets:build', function () {
|
||||
@@ -121,15 +118,15 @@ task ('deploy:assets:build', function () {
|
||||
});
|
||||
|
||||
task('typo3:database:migrate', function () {
|
||||
run('{{bin/php}} {{release_path}}/vendor/bin/typo3cms database:updateschema');
|
||||
run('{{bin/php}} {{release_or_current_path}}/vendor/bin/typo3cms database:updateschema');
|
||||
});
|
||||
|
||||
task('typo3:language:update', function () {
|
||||
run('{{bin/php}} {{release_path}}/vendor/bin/typo3cms language:update');
|
||||
run('{{bin/php}} {{release_or_current_path}}/vendor/bin/typo3cms language:update');
|
||||
});
|
||||
|
||||
task('typo3:cache:flush', function () {
|
||||
run('{{bin/php}} {{release_path}}/vendor/bin/typo3cms cache:flush');
|
||||
run('{{bin/php}} {{release_or_current_path}}/vendor/bin/typo3cms cache:flush');
|
||||
});
|
||||
|
||||
after('deploy:failed', 'deploy:unlock');
|
||||
|
||||
Reference in New Issue
Block a user