diff --git a/public/pull.php b/public/pull.php index 04884d2..cd8f57c 100644 --- a/public/pull.php +++ b/public/pull.php @@ -25,7 +25,7 @@ if($json['total_commits'] > 0) { //$result = shell_exec("cd /var/www/lk && git reset --hard HEAD && git pull && npm run build"); - $result = shell_exec("cd /var/www/lk && git reset --hard HEAD && git pull && php artisan migrate && npm run build && php artisan optimize:clear"); + $result = shell_exec("cd /var/www/lk && git reset --hard HEAD && git pull && composer update && composer install && php artisan migrate && npm run build && php artisan optimize:clear"); echo "
$result
" ; }