fix deploy
This commit is contained in:
parent
e9dc784ca0
commit
96ae34702d
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue