pull file updated
This commit is contained in:
parent
f8a82ed2c8
commit
ee7bae885e
@ -1,6 +1,5 @@
|
||||
<?php
|
||||
// комментарий
|
||||
|
||||
$key = "developer@zachem.info";
|
||||
$payload = trim(file_get_contents("php://input"));
|
||||
|
||||
@ -25,7 +24,7 @@
|
||||
|
||||
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>";
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user