From e3a8c8df68197165661adba05b19849996cce3a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Wed, 8 Jan 2025 10:23:07 +0100 Subject: [PATCH] chore: add deployer config for staging environment --- deploy.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/deploy.php b/deploy.php index 57a47a0..3fd3725 100644 --- a/deploy.php +++ b/deploy.php @@ -80,6 +80,20 @@ host('prod') ->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{release_or_current_path}}/public/ --web-url=https://myep-team.ep-reisen.de') ; +host('staging') + ->setHostname('185.243.132.170') + ->setRemoteUser('p546473') + ->setForwardAgent(true) + ->setSshMultiplexing(true) + ->setDeployPath('/home/www/p546473/html/myep-team') + ->set('writable_mode', 'chmod') + ->set('bin/php', '/usr/local/bin/php') + ->set('rsync_src', __DIR__) + ->set('rsync', $rsyncOptions) + ->set('keep_releases', 5) + ->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{release_or_current_path}}/public/ --web-url=https://myep-team.dreipunktnull.net') +; + task('deploy', [ 'deploy:info', 'deploy:setup',