diff options
author | Aaron Ball <nullspoon@oper.io> | 2020-03-28 18:27:55 -0600 |
---|---|---|
committer | Aaron Ball <nullspoon@oper.io> | 2020-03-28 18:27:55 -0600 |
commit | 48daf83cc9dc3715b11b5b574889159524eb0c04 (patch) | |
tree | a4ba00f240c124867111f8d3522aaae7550b49cd | |
parent | d8c2311e6e8e4d2489dc6994f30764aa2c534b28 (diff) | |
download | testrepo-48daf83cc9dc3715b11b5b574889159524eb0c04.tar.gz testrepo-48daf83cc9dc3715b11b5b574889159524eb0c04.tar.xz |
testing 1..2..3...
-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 |