diff options
| -rw-r--r-- | hook.php | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/hook.php b/hook.php deleted file mode 100644 index 3f3a55a..0000000 --- a/hook.php +++ /dev/null @@ -1,6 +0,0 @@ -<?php -## GitHub WebHook ## -if ($_SERVER['HTTP_X_GITHUB_EVENT'] == 'push' && !empty($_POST['payload'])) { - shell_exec('cd /home/bulletin/web && git pull -q'); -} -?> |
