go_sshkeys/.githooks/pre-commit/01-keymanual

9 lines
140 B
Bash
Executable File

#!/bin/bash
set -e
# cd "${GIT_WORK_TREE}/_ref"
cd "${PWD}/_ref"
asciidoctor -o ./KEY_GUIDE.html ./KEY_GUIDE.adoc
git add KEY_GUIDE.html