I have a git repo that has a docs
directory where I keep markdown files that document things I'm working on (for example, I have one called setup_git_server.mdown
). I push and pull the repository (and others) from my own webserver running gitolite.
What I want to happen is that whenever I push a commit to the server, it automatically converts the markdown files to HTML and copies them to a directory on the server where Apache can server them.
What's the best way to do this?