diff --git a/deploy.php b/deploy.php index 8fffa5a..0842f70 100644 --- a/deploy.php +++ b/deploy.php @@ -106,6 +106,22 @@ host('prod') ]) ; +host('staging') + ->setHostname('www198.your-server.de') + ->setRemoteUser('pfqasy') + ->setForwardAgent(true) + ->setSshMultiplexing(true) + ->setDeployPath('/usr/home/pfqasy/public_html/ephub.fromme.dev') + ->set('bin/php', '/usr/bin/php') + ->set('http_user', 'pfqasy') + ->set('rsync_src', __DIR__) + ->set('rsync', $rsyncOptions) + ->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{current_path}}/public/ --web-url=https://ephub.fromme.dev') + ->add('shared_files', [ + 'public/.htpasswd', + ]) +; + task('deploy', [ 'deploy:info', 'deploy:setup',