fix deploy

This commit is contained in:
Adrian Tiberius 2016-10-19 14:48:57 +03:00
parent e9dc784ca0
commit 96ae34702d
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
<?php
ignore_user_abort(true);
set_time_limit(0);
$command = "cd /var/www/status-site && git reset --hard HEAD && git pull origin master && gulp build";
// TODO check against ip or secret hash
@ -17,4 +19,4 @@ if ( $_SERVER['HTTP_X_GITHUB_EVENT'] == 'push' ) {
}
fclose($fp);
}
}
}