обновил puller
This commit is contained in:
parent
77fcdfec0b
commit
469d13a609
@ -25,7 +25,7 @@
|
|||||||
if($json['total_commits'] > 0)
|
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 && 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 "<p>$result</p>" ;
|
echo "<p>$result</p>" ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user