diff options
| author | Carson Fleming <cflems@cflems.net> | 2017-07-08 15:08:48 -0700 |
|---|---|---|
| committer | Carson Fleming <cflems@cflems.net> | 2017-07-08 15:08:48 -0700 |
| commit | ed50989da8803228cab76ea87a2238e494946868 (patch) | |
| tree | ae7b30e087bab05df23f546658f883dde8022f4a /hook.php | |
| parent | 8dad3086daed6f9ea2e15eaa596c045dbc2bee88 (diff) | |
| download | bulletin-ed50989da8803228cab76ea87a2238e494946868.tar.gz | |
Removed publicly accessible webhook
Diffstat (limited to 'hook.php')
| -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'); -} -?> |
