chore: add staging environment to deployer config
This commit is contained in:
+5
-5
@@ -17,7 +17,6 @@ add('shared_dirs', [
|
|||||||
|
|
||||||
add('shared_files', [
|
add('shared_files', [
|
||||||
'public/.htaccess',
|
'public/.htaccess',
|
||||||
'.env.local.php',
|
|
||||||
]);
|
]);
|
||||||
|
|
||||||
set('keep_releases', 3);
|
set('keep_releases', 3);
|
||||||
@@ -92,16 +91,17 @@ host('prod')
|
|||||||
;
|
;
|
||||||
|
|
||||||
host('staging')
|
host('staging')
|
||||||
->setHostname('185.243.132.170')
|
->setHostname('185.243.135.29')
|
||||||
->setRemoteUser('p546473')
|
->setRemoteUser('p704161')
|
||||||
->setForwardAgent(true)
|
->setForwardAgent(true)
|
||||||
->setSshMultiplexing(true)
|
->setSshMultiplexing(true)
|
||||||
->setDeployPath('/home/www/p546473/html/myep')
|
->setDeployPath('/home/www/p704161/html/myep-staging')
|
||||||
->set('writable_mode', 'chmod')
|
->set('writable_mode', 'chmod')
|
||||||
|
->set('http_user', 'p704161')
|
||||||
->set('bin/php', '/usr/local/bin/php')
|
->set('bin/php', '/usr/local/bin/php')
|
||||||
->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://myep.dreipunktnull.net')
|
->set('cachetool_args', '--web=SymfonyHttpClient --web-path={{current_path}}/public/ --web-url=https://my.ep-reisen.net')
|
||||||
;
|
;
|
||||||
|
|
||||||
task('deploy', [
|
task('deploy', [
|
||||||
|
|||||||
Reference in New Issue
Block a user