I\'m implementing this approach to send updates to my website:
created bare repository to push to
$ mkdir website.git && cd website.git $ git
Make the script executable:
chmod +x .git/hooks/post-receive