Adjust deployer config

This commit is contained in:
Björn Fromme
2022-03-14 12:26:59 +01:00
parent 99c5fbc119
commit b1b4da769f
+2 -19
View File
@@ -7,7 +7,7 @@ require 'vendor/deployer/recipes/recipe/cachetool.php';
set('typo3_webroot', 'public');
set('application', 'ep-reisen-typo3');
set('repository', 'git@gitlab.com:dreipunktnull/ep-reisen-web');
set('repository', 'git@github.com:dreipunktnull/ep-reisen');
set('git_tty', false);
set('ssh_type', 'native');
@@ -83,6 +83,7 @@ host('staging')
->forwardAgent()
->multiplexing()
->set('deploy_path', '/home/www/p546128/html/{{application}}-staging')
->set('buspronet_path', '/home/www/p546128/html/kuschick/buspronet/buspronet')
->set('bin/php', '/usr/local/bin/php')
->set('http_user', 'p546128')
->set('bin/composer', '/usr/local/bin/composer')
@@ -111,24 +112,6 @@ task('deploy', [
'cleanup',
]);
task('deploy_staging', [
'deploy:info',
'deploy:prepare',
'deploy:lock',
'deploy:release',
'deploy:assets:build',
'rsync',
'deploy:clear_paths',
'deploy:shared',
'typo3:database:migrate',
'typo3:language:update',
'typo3:cache:flush',
'deploy:symlink',
'deploy:unlock',
'cachetool:clear:opcache',
'cleanup',
]);
task('deploy:buspronet:symlink', function () {
run('ln -s {{buspronet_path}} {{release_path}}/public/buchung');
});