mirror of
https://github.com/status-im/status-site-legacy.git
synced 2025-02-11 06:36:34 +00:00
add log file
This commit is contained in:
parent
399d51e636
commit
d77d57d3e4
@ -7,7 +7,9 @@ if ( $_SERVER['HTTP_X_GITHUB_EVENT'] == 'push' ) {
|
||||
|
||||
if( ($fp = popen($command, "r")) ) {
|
||||
while( !feof($fp) ){
|
||||
echo fread($fp, 1024);
|
||||
$result = fread($fp, 1024);
|
||||
file_put_contents("build.log", $result, FILE_APPEND);
|
||||
echo $result;
|
||||
flush();
|
||||
}
|
||||
fclose($fp);
|
||||
|
Loading…
x
Reference in New Issue
Block a user