Setup post-commit and post-build hook actions