diff --git a/deploy.php b/deploy.php index 734c11c1..d6de9c57 100644 --- a/deploy.php +++ b/deploy.php @@ -92,6 +92,25 @@ host('staging') ->set('shared_files', $sharedFilesStaging) ; +host('hetzner') + ->setHostname('www75.your-server.de') + ->setPort(222) + ->setRemoteUser('epxrei') + ->setForwardAgent(true) + ->setSshMultiplexing(true) + ->setDeployPath('/usr/home/epxrei/{{application}}') + ->set('buspronet_path', '/usr/home/epxrei/kuschick/buspronet/buspronet') + ->set('bin/php', '/usr/bin/php') + ->set('http_user', 'epxrei') + ->set('writable_mode', 'chmod') + ->set('bin/composer', '/usr/home/epxrei/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={{release_or_current_path}}/public/ --web-url=https://hetzner.ep-reisen.de') + ->set('shared_files', $sharedFilesStaging) +; + task('deploy', [ 'deploy:info', 'deploy:setup',