diff options
-rw-r--r-- | hooks/post-receive | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/hooks/post-receive b/hooks/post-receive index 584057e..131ca45 100644 --- a/hooks/post-receive +++ b/hooks/post-receive @@ -8,7 +8,6 @@ dump_sess cache="$(deploy_cache ${NEWREV})" - for i in ${FILES_M[@]} ${FILES_A[@]}; do f="$(basename ${i})" d="$(dirname ${i})" @@ -17,4 +16,8 @@ for i in ${FILES_M[@]} ${FILES_A[@]}; do if [ "${d}" = 'hooks' ]; then cp -v "${cache}/${i}" "${src}/hooks/" fi + + if [ "${d}" = 'speak' ]; then + printf 'Hello World! I was instructed to speak!\n' + fi done |