It was just yesterday morning that a light came on in my head and I understood just what the index file was for in git. It seemed to strip away the fear that I was always not quite sure what I was doing, and allowed me to experiment a bit to see what I could do.
Well I have been playing with the post-update hook. As a result, I can now
- push a update from my working machine into a repository embedded within this web site. The arrival of a new update triggers it to check out this new version so that the web server automatically gets the new version to work with.
- push to any of the public repositories on this machine a new tag (ie release) and it automatically makes a tar ball of the whole code and puts it into the downloads directory
I haven’t (yet) got it automatically deploying new versions of my applications – but I am sure it will not be long:-)