* things
This commit is contained in:
10
deploy.php
10
deploy.php
@@ -23,14 +23,6 @@ set('keep_releases', 3);
|
||||
set('default_stage', 'production');
|
||||
|
||||
|
||||
// Servers - mtas : esekivws5222a.rnd.ki.sw.ericsson.se
|
||||
host('mtas')
|
||||
->stage('production')
|
||||
->user('edvidan')
|
||||
->forwardAgent()
|
||||
->set('php_service_name', 'php7.1-fpm')
|
||||
->set('deploy_path', '/proj/webdocs/mtoolbox/root/mtastv-api');
|
||||
|
||||
host('vasgyuro.tsp')
|
||||
->stage('staging')
|
||||
->user('edvidan')
|
||||
@@ -45,7 +37,7 @@ task('php-fpm:reload', function () {
|
||||
// /etc/sudoers: username ALL=NOPASSWD:/bin/systemctl restart php-fpm.service
|
||||
run('sudo service {{php_service_name}} reload');
|
||||
});
|
||||
after('deploy:symlink', 'php-fpm:reload')->onlyOn('vasgyuro.tsp');
|
||||
after('deploy:symlink', 'php-fpm:reload');
|
||||
|
||||
|
||||
desc('Deploy your project');
|
||||
|
||||
Reference in New Issue
Block a user