diff --git a/deploy.php b/deploy.php index 40d040bd..738b8059 100644 --- a/deploy.php +++ b/deploy.php @@ -56,7 +56,8 @@ $rsyncOptions = [ 'timeout' => 300, ]; -host('185.237.67.190') +host('production') + ->hostname('185.237.67.190') ->stage('production') ->user('p546128') ->forwardAgent() @@ -70,7 +71,11 @@ host('185.237.67.190') ->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{release_path}}/public/ --web-url=https://www.ep-reisen.de') ; -host('185.237.67.190') +$sharedFilesStaging = get('shared_files'); +$sharedFilesStaging[] = '{{typo3_webroot}}/.htpasswd'; + +host('staging') + ->hostname('185.237.67.190') ->stage('staging') ->user('p546128') ->forwardAgent()