diff options
Diffstat (limited to 'hooks/post-receive')
-rw-r--r-- | hooks/post-receive | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/post-receive b/hooks/post-receive index ada4585..cd03d3c 100644 --- a/hooks/post-receive +++ b/hooks/post-receive @@ -6,7 +6,7 @@ export LC_ALL=en_US.utf8 for i in ${FILES_A[@]} ${FILES_M[@]}; do d="$(dirname ${i})" f="$(basename ${i})" - if [ "${f%.*}" = 'resume' ]; then + if [ "${f%.*}" = 'resume' ] || [ "${d%.*}" = 'res' ]; then printf 'Generating and deploying resume\n' make install -v -D out/resume.html "${WEB}/oper.io.git/master/resume.html" |