chore: adjust deployer config for new Hetzner host
This commit is contained in:
+19
-4
@@ -73,8 +73,21 @@ host('production')
|
|||||||
->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{current_path}}/public/ --web-url=https://www.ep-reisen.de')
|
->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{current_path}}/public/ --web-url=https://www.ep-reisen.de')
|
||||||
;
|
;
|
||||||
|
|
||||||
$sharedFilesStaging = get('shared_files');
|
host('hetzner')
|
||||||
$sharedFilesStaging[] = '{{typo3_webroot}}/.htpasswd';
|
->setHostname('dedi10193.your-server.de')
|
||||||
|
->setRemoteUser('eptypo3')
|
||||||
|
->setForwardAgent(true)
|
||||||
|
->setSshMultiplexing(true)
|
||||||
|
->setDeployPath('/usr/home/eptypo3/public_html/{{application}}')
|
||||||
|
->set('bin/php', '/usr/bin/php74')
|
||||||
|
->set('http_user', 'eptypo3')
|
||||||
|
->set('writable_mode', 'chmod')
|
||||||
|
->set('bin/composer', '/usr/bin/composer')
|
||||||
|
->set('composer_options', '--prefer-dist --no-progress --no-interaction --optimize-autoloader')
|
||||||
|
->set('rsync_src', __DIR__)
|
||||||
|
->set('rsync', $rsyncOptions)
|
||||||
|
->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{current_path}}/public/ --web-url=https://test.ep-reisen.de')
|
||||||
|
;
|
||||||
|
|
||||||
host('staging')
|
host('staging')
|
||||||
->setHostname('185.237.67.190')
|
->setHostname('185.237.67.190')
|
||||||
@@ -91,7 +104,9 @@ host('staging')
|
|||||||
->set('rsync_src', __DIR__)
|
->set('rsync_src', __DIR__)
|
||||||
->set('rsync', $rsyncOptions)
|
->set('rsync', $rsyncOptions)
|
||||||
->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{current_path}}/public/ --web-url=https://staging.ep-reisen.de --web-basic-auth=ep:reisen')
|
->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{current_path}}/public/ --web-url=https://staging.ep-reisen.de --web-basic-auth=ep:reisen')
|
||||||
->set('shared_files', $sharedFilesStaging)
|
->add('shared_files', [
|
||||||
|
'{{typo3_webroot}}/.htpasswd',
|
||||||
|
])
|
||||||
;
|
;
|
||||||
|
|
||||||
task('deploy', [
|
task('deploy', [
|
||||||
@@ -108,7 +123,7 @@ task('deploy', [
|
|||||||
'deploy:publish',
|
'deploy:publish',
|
||||||
'cachetool:clear:opcache',
|
'cachetool:clear:opcache',
|
||||||
'typo3:cache:flush',
|
'typo3:cache:flush',
|
||||||
'deploy:buspronet:symlink',
|
// 'deploy:buspronet:symlink',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
task('deploy:buspronet:symlink', function () {
|
task('deploy:buspronet:symlink', function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user