From fc2de4b2e7f95b3bb26a9faf3df2bbd00e93ad2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Tue, 12 Dec 2023 12:22:23 +0100 Subject: [PATCH] chore: add deployment host for to test provider --- deploy.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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',