diff --git a/deploy.php b/deploy.php index a4405adb..933b027d 100644 --- a/deploy.php +++ b/deploy.php @@ -57,29 +57,13 @@ $rsyncOptions = [ 'timeout' => 300, ]; -host('production') - ->setHostname('185.237.67.190') - ->setRemoteUser('p546128') - ->setForwardAgent(true) - ->setSshMultiplexing(true) - ->setDeployPath('/home/www/p546128/html/{{application}}') - ->set('buspronet_path', '/home/www/p546128/html/kuschick/buspronet/buspronet') - ->set('bin/php', '/usr/local/bin/php') - ->set('http_user', 'p546128') - ->set('writable_mode', 'chmod') - ->set('bin/composer', '/usr/local/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://www.ep-reisen.de') -; - -host('hetzner') +host('prod') ->setHostname('dedi10193.your-server.de') ->setRemoteUser('eptypo3') ->setForwardAgent(true) ->setSshMultiplexing(true) ->setDeployPath('/usr/home/eptypo3/public_html/{{application}}') + ->set('buspronet_path', '/usr/home/eptypo3/public_html/kuschick/buspronet/buspronet') ->set('bin/php', '/usr/bin/php74') ->set('http_user', 'eptypo3') ->set('writable_mode', 'chmod') @@ -87,27 +71,7 @@ host('hetzner') ->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') - ->setRemoteUser('p546128') - ->setForwardAgent(true) - ->setSshMultiplexing(true) - ->setDeployPath('/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('writable_mode', 'chmod') - ->set('bin/composer', '/usr/local/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://staging.ep-reisen.de --web-basic-auth=ep:reisen') - ->add('shared_files', [ - '{{typo3_webroot}}/.htpasswd', - ]) + ->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{current_path}}/public/ --web-url=https://www.ep-reisen.de') ; task('deploy', [ @@ -124,7 +88,7 @@ task('deploy', [ 'deploy:publish', 'cachetool:clear:opcache', 'typo3:cache:flush', -// 'deploy:buspronet:symlink', + 'deploy:buspronet:symlink', ]); task('deploy:buspronet:symlink', function () {