You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
@servers(['lanzu_dev' => 'root@120.24.33.109','lanzu_prod' => 'root@39.96.12.39'])
@story('deploy_dev',['on' => 'lanzu_dev']) git_dev@endstory
@story('deploy_prod',['on' => 'lanzu_prod']) git_prod@endstory
@task('git_dev') cd /data_ssd/lanzu_mp_cat git pull origin develop @if($composer == true) composer update --lock @endif chmod -R 755 bootstrap/cache chmod -R 755 storage chown -R www:www /data_ssd/lanzu_mp_cat supervisorctl restart laravel-worker:*@endtask
@task('git_prod') cd /data_ssd/lanzu_mp_cat git pull origin master @if($composer == true) composer update --no-dev --lock @endif chmod -R 755 bootstrap/cache chmod -R 755 storage chown -R www:www /data_ssd/lanzu_mp_cat@endtask
|