git-secret/utils/post-commit.sh

9 lines
149 B
Bash
Raw Normal View History

2016-02-23 21:35:25 +00:00
#!/usr/bin/env bash
set -e
2016-02-24 10:26:05 +00:00
if [[ $(git rev-parse --abbrev-ref HEAD) == "master" ]]; then
# Build new web documentation:
make build-gh-pages
fi