diff --git a/www/commands/server_gitwebhook.php b/www/commands/server_gitwebhook.php index c7f7b6e..ed3c428 100644 --- a/www/commands/server_gitwebhook.php +++ b/www/commands/server_gitwebhook.php @@ -14,7 +14,7 @@ $uri = $ROUTE->full_url; $cmd = ""; if ($hook == 'website_mikescher') - $cmd = 'git pull'; + $cmd = 'git fetch ; git reset origin/master --hard'; else if ($hook == 'griddominance') $cmd = 'update-gdapi'; else