]> begriffs open source - repo-ui/blob - post-update
How to host gitweb
[repo-ui] / post-update
1 #!/bin/sh
2
3 README_CONTENT=$(git cat-file blob HEAD:README.md 2>/dev/null)
4
5 if [ -n "$README_CONTENT" ]; then
6         echo "$README_CONTENT" | pandoc -f markdown -t html -o "$GIT_DIR/README.html"
7 fi
8
9 git update-server-info