pull file updated

This commit is contained in:
developer 2026-01-22 15:54:17 +08:00
parent f8a82ed2c8
commit ee7bae885e

View File

@ -1,6 +1,5 @@
<?php <?php
// комментарий // комментарий
$key = "developer@zachem.info"; $key = "developer@zachem.info";
$payload = trim(file_get_contents("php://input")); $payload = trim(file_get_contents("php://input"));
@ -25,7 +24,7 @@
if($json['total_commits'] > 0) if($json['total_commits'] > 0)
{ {
$result = shell_exec("cd /var/www/lk && git reset --hard HEAD && git pull"); $result = shell_exec("cd /var/www/lk && git reset --hard HEAD && git pull && php artisan migrate");
echo "<p>$result</p>"; echo "<p>$result</p>";
} }