тест 9 обработчика гитлаба
This commit is contained in:
parent
2513a062b2
commit
7d2be066b5
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
// комментарий whoami
|
||||
// комментарий
|
||||
|
||||
$key = "developer@zachem.info";
|
||||
$payload = trim(file_get_contents("php://input"));
|
||||
@ -25,8 +25,7 @@
|
||||
|
||||
if($json['total_commits'] > 0)
|
||||
{
|
||||
// $result = shell_exec("cd /var/www/lk && git reset --hard HEAD && git pull");
|
||||
$result = shell_exec("whoami");
|
||||
$result = shell_exec("cd /var/www/lk && git reset --hard HEAD && git pull");
|
||||
echo "<p>$result</p>";
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user