Add .htaccess and .htpasswd to shared files in staging env

This commit is contained in:
Björn Fromme
2021-09-01 15:28:02 +02:00
parent b1c0ad1958
commit 3e48aa747d
+7 -2
View File
@@ -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()