mirror of
https://github.com/status-im/status-site-legacy.git
synced 2025-01-14 01:24:52 +00:00
test deploy
This commit is contained in:
parent
2dfe6c7f7c
commit
9148196a6f
@ -3,7 +3,7 @@ $command = "cd /var/www/status-site && git reset --hard HEAD && git pull origin
|
||||
|
||||
// TODO check against ip or secret hash
|
||||
|
||||
if ( $_SERVER['HTTP_X_GITHUB_EVENT'] == 'push' ) {
|
||||
if ( $_SERVER['X-GitHub-Event'] == 'push' ) {
|
||||
|
||||
if( ($fp = popen($command, "r")) ) {
|
||||
while( !feof($fp) ){
|
||||
|
Loading…
x
Reference in New Issue
Block a user