I\'m implementing this approach to send updates to my website:
created bare repository to push to
$ mkdir website.git && cd website.git $ git
I do this on my sites:
#!/bin/sh unset $(git rev-parse --local-env-vars) cd /var/www/example.com git pull