chore: add deployer config for staging environment
This commit is contained in:
+18
-1
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user