Use secret of github webhooks instead of own get parameter Solution see https://github.com/bmake/gitDeploy/blob/master/deploy.php