e
Showing
1 changed file
with
3 additions
and
2 deletions
| 1 | <?php | 1 | <?php |
| 2 | #webhook.php | 2 | #webhook.php |
| 3 | 3 | $cmd = shell_exec("sudo -S git pull 2>&1"); | |
| 4 | $cmd = shell_exec("sudo git pull 2>&1"); | ||
| 5 | 4 | ||
| 6 | #for debugging | 5 | #for debugging |
| 7 | echo $cmd; | 6 | echo $cmd; |
| 7 | |||
| 8 | die("done " . mktime()); | ||
| 8 | ?> | 9 | ?> |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or sign in to post a comment