* prod deploy

This commit is contained in:
Dávid Danyi
2018-10-04 15:43:32 +02:00
parent 8aa0828701
commit 1a357f4121
4 changed files with 42 additions and 10 deletions

25
deploy.php Normal file → Executable file
View File

@@ -15,15 +15,24 @@ set('writable_dirs', []);
set('keep_releases', 3);
set('default_stage', 'production');
// Servers
// Servers - mtas : esekivws5222a.rnd.ki.sw.ericsson.se
host('mtas')
->stage('production')
->user('edvidan')
->forwardAgent()
->set('ng_basehref', '/mtas/')
->set('ng_configuration', 'production')
->set('env_vars', 'NODE_ENV=production')
->set('deploy_path', '/proj/webdocs/mtoolbox/mtastv/frontend');
host('vasgyuro.tsp')
->stage('production')
->user('edvidan')
->forwardAgent()
->set('ng_basehref', '/mtas-tv/')
->set('ng_configuration', 'production')
->set('env_vars', 'NODE_ENV=production')
->set('deploy_path', '/home/edvidan/applications/mtas-tv');
->stage('staging')
->user('edvidan')
->forwardAgent()
->set('ng_basehref', '/mtas-tv/')
->set('ng_configuration', 'staging')
->set('env_vars', 'NODE_ENV=production')
->set('deploy_path', '/home/edvidan/applications/mtas-tv');
// Tasks
desc('Build release');