Fixed the githook for www

This commit is contained in:
Ubergeek 2019-03-21 14:45:28 +00:00
parent f4363eb055
commit a8e5cca79e
1 changed files with 1 additions and 1 deletions

View File

@ -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 );