From e27b37628504068a41b07f8581742723d7482195 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Thu, 3 Sep 2026 08:18:46 +0200 Subject: [PATCH] chore: adjust deployer config for new Hetzner host --- deploy.php | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/deploy.php b/deploy.php index 631fec90..b84ece29 100644 --- a/deploy.php +++ b/deploy.php @@ -73,8 +73,21 @@ host('production') ->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{current_path}}/public/ --web-url=https://www.ep-reisen.de') ; -$sharedFilesStaging = get('shared_files'); -$sharedFilesStaging[] = '{{typo3_webroot}}/.htpasswd'; +host('hetzner') + ->setHostname('dedi10193.your-server.de') + ->setRemoteUser('eptypo3') + ->setForwardAgent(true) + ->setSshMultiplexing(true) + ->setDeployPath('/usr/home/eptypo3/public_html/{{application}}') + ->set('bin/php', '/usr/bin/php74') + ->set('http_user', 'eptypo3') + ->set('writable_mode', 'chmod') + ->set('bin/composer', '/usr/bin/composer') + ->set('composer_options', '--prefer-dist --no-progress --no-interaction --optimize-autoloader') + ->set('rsync_src', __DIR__) + ->set('rsync', $rsyncOptions) + ->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{current_path}}/public/ --web-url=https://test.ep-reisen.de') +; host('staging') ->setHostname('185.237.67.190') @@ -91,7 +104,9 @@ host('staging') ->set('rsync_src', __DIR__) ->set('rsync', $rsyncOptions) ->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{current_path}}/public/ --web-url=https://staging.ep-reisen.de --web-basic-auth=ep:reisen') - ->set('shared_files', $sharedFilesStaging) + ->add('shared_files', [ + '{{typo3_webroot}}/.htpasswd', + ]) ; task('deploy', [ @@ -108,7 +123,7 @@ task('deploy', [ 'deploy:publish', 'cachetool:clear:opcache', 'typo3:cache:flush', - 'deploy:buspronet:symlink', +// 'deploy:buspronet:symlink', ]); task('deploy:buspronet:symlink', function () {