diff --git a/deploy.php b/deploy.php index 1889d49..1988938 100644 --- a/deploy.php +++ b/deploy.php @@ -77,47 +77,16 @@ $rsyncOptions = [ ]; host('prod') - ->setHostname('185.243.135.29') - ->setRemoteUser('p704161') - ->setForwardAgent(true) - ->setSshMultiplexing(true) - ->setDeployPath('/home/www/p704161/html/myep') - ->set('writable_mode', 'chmod') - ->set('http_user', 'p704161') - ->set('bin/php', '/usr/local/bin/php') - ->set('rsync_src', __DIR__) - ->set('rsync', $rsyncOptions) - ->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{current_path}}/public/ --web-url=https://my.ep-reisen.de') -; - -host('staging') - ->setHostname('185.243.135.29') - ->setRemoteUser('p704161') - ->setForwardAgent(true) - ->setSshMultiplexing(true) - ->setDeployPath('/home/www/p704161/html/myep-staging') - ->set('writable_mode', 'chmod') - ->set('http_user', 'p704161') - ->set('bin/php', '/usr/local/bin/php') - ->set('rsync_src', __DIR__) - ->set('rsync', $rsyncOptions) - ->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{current_path}}/public/ --web-url=https://my.ep-reisen.net --web-basic-auth=myep:staging') - ->add('shared_files', [ - 'public/.htpasswd', - ]) -; - -host('hetzner') ->setHostname('dedi10193.your-server.de') ->setRemoteUser('myepsf') ->setForwardAgent(true) ->setSshMultiplexing(true) - ->setDeployPath('/usr/home/myepsf/public_html/myep') + ->setDeployPath('/usr/home/myepsf/public_html/prod') ->set('bin/php', '/usr/bin/php') ->set('http_user', 'myepsf') ->set('rsync_src', __DIR__) ->set('rsync', $rsyncOptions) - ->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{current_path}}/public/ --web-url=https://my.ep-reisen.net --web-basic-auth=myep:staging') + ->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{current_path}}/public/ --web-url=https://my.ep-reisen.de') ->add('shared_files', [ 'public/.htpasswd', ])