So I was searching and can't find how to set up git hook with wordpress
I added a deploy.php to my public_html directory where is my wordpress blog!
so when I commit to git stuff, something server doesn't pull it and when I type www.example/depoly.php
it shows error 404 page not found its there any way to make wordpress avoid that file and just execute content:<pre>
<?php system("git pull");?>
</pre>
ANY HELP THANKS:)