From 1e23417063e3c1551c8e407c7e8299245afc469b Mon Sep 17 00:00:00 2001 From: Guilherme Capanema Date: Wed, 10 Jun 2020 09:03:43 -0300 Subject: [PATCH] Adiciona arquivo de deploy do Envoy --- Envoy.blade.php | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Envoy.blade.php diff --git a/Envoy.blade.php b/Envoy.blade.php new file mode 100644 index 0000000..f9cc97b --- /dev/null +++ b/Envoy.blade.php @@ -0,0 +1,23 @@ +@servers(['web' => ['capanema@compartilhado-1.horizontes.info']]) + +@task('deploy', ['on' => 'web']) + cd ~/web/ucb.horizontes.info/public_html + + php artisan down + + git pull + + composer install + + php artisan migrate:refresh --seed + + php artisan cache:clear + + php artisan storage:link + + php artisan config:cache + + php artisan view:cache + + php artisan up +@endtask