test deploy
This commit is contained in:
parent
f7ab5564d6
commit
66943fd319
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
$command = "cd /var/www/status-site && git reset --hard HEAD && git pull && gulp build";
|
$command = "cd /var/www/status-site && git reset --hard HEAD && git pull && gulp build";
|
||||||
|
|
||||||
// TODO check
|
// TODO check against ip or secret hash
|
||||||
|
|
||||||
if ( $_SERVER['HTTP_X_GITHUB_EVENT'] == 'push' ) {
|
if ( $_SERVER['HTTP_X_GITHUB_EVENT'] == 'push' ) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue