Add .htaccess and .htpasswd to shared files in staging env
This commit is contained in:
+7
-2
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user