remove extra debug messages
This commit is contained in:
parent
11f4180a2a
commit
7616decdf9
|
@ -5,9 +5,6 @@ $command = "cd /var/www/status-site && git reset --hard HEAD && git pull origin
|
|||
|
||||
// TODO check against ip or secret hash
|
||||
$log_file = "/var/www/status-site/build.log";
|
||||
file_put_contents($log_file, var_export($_SERVER, true), FILE_APPEND);
|
||||
$content = file_get_contents("php://input");
|
||||
file_put_contents($log_file, var_export($content, true), FILE_APPEND);
|
||||
if ( $_SERVER['HTTP_X_GITHUB_EVENT'] == 'push' ) {
|
||||
|
||||
if( ($fp = popen($command, "r")) ) {
|
||||
|
|
Loading…
Reference in New Issue