From a8e5cca79e6698260131aa417ef618bd9bfe8dc1 Mon Sep 17 00:00:00 2001 From: Ubergeek Date: Thu, 21 Mar 2019 14:45:28 +0000 Subject: [PATCH] Fixed the githook for www --- githook.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/githook.php b/githook.php index bd7f8bb..4110b97 100644 --- a/githook.php +++ b/githook.php @@ -34,7 +34,7 @@ if ($remoteip !== $allowedip) //* if you need get full json input */ //fwrite($fs, 'DATA: '.print_r($data, true).PHP_EOL); -if ($data["repository"]["full_name"] == 'thunix/ansible') { +if ($data["repository"]["full_name"] == 'thunix/www') { syslog(LOG_INFO, 'Ansible Webhook recieved.'); if ( time () - filemtime ( $ansible_lastrun ) > $ratelimit ) { touch ( $ansible_dropfile );