chore: add deployer config for staging environment

This commit is contained in:
2026-09-16 15:35:46 +02:00
parent 9d639c8db1
commit 86817731f4
+18 -1
View File
@@ -74,7 +74,7 @@ host('prod')
->setRemoteUser('myepteam') ->setRemoteUser('myepteam')
->setForwardAgent(true) ->setForwardAgent(true)
->setSshMultiplexing(true) ->setSshMultiplexing(true)
->setDeployPath('/usr/home/myepteam/public_html/prod') ->setDeployPath('/usr/www/users/myepteam/prod')
->set('bin/php', '/usr/bin/php') ->set('bin/php', '/usr/bin/php')
->set('http_user', 'myepteam') ->set('http_user', 'myepteam')
->set('rsync_src', __DIR__) ->set('rsync_src', __DIR__)
@@ -82,6 +82,23 @@ host('prod')
->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{current_path}}/public/ --web-url=https://team.ep-reisen.de') ->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{current_path}}/public/ --web-url=https://team.ep-reisen.de')
; ;
host('staging')
->setHostname('dedi10193.your-server.de')
->setRemoteUser('myepteam')
->setForwardAgent(true)
->setSshMultiplexing(true)
->setDeployPath('/usr/www/users/myepteam/staging')
->set('bin/php', '/usr/bin/php')
->set('http_user', 'myepteam')
->set('rsync_src', __DIR__)
->set('rsync', $rsyncOptions)
->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{current_path}}/public/ --web-url=https://team.ep-reisen.net --web-basic-auth=team:staging')
->add('shared_files', [
'public/.htaccess',
'public/.htpasswd',
])
;
task('deploy', [ task('deploy', [
'deploy:info', 'deploy:info',
'deploy:setup', 'deploy:setup',