diff --git a/public/pull.php b/public/pull.php index 24a2a3e..61d15cb 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 optimize:clear"); + $result = shell_exec("cd /var/www/lk && git reset --hard HEAD && git pull && npm run build && php artisan optimize:clear"); echo "
$result
" ; }