diff options
author | Kevin Fenzi <kevin@scrye.com> | 2014-08-26 19:47:51 +0000 |
---|---|---|
committer | Kevin Fenzi <kevin@scrye.com> | 2014-08-26 19:47:51 +0000 |
commit | 05bef7f5077dfc5fd49d806ab39654f7c596a97a (patch) | |
tree | 95e56f8b0d4a41be080973688376a8045b699d68 | |
parent | a6e6d2d16cf6f959fb3f8db2c3770ceb9d66ca73 (diff) | |
download | ansible-05bef7f5077dfc5fd49d806ab39654f7c596a97a.tar.gz ansible-05bef7f5077dfc5fd49d806ab39654f7c596a97a.tar.xz ansible-05bef7f5077dfc5fd49d806ab39654f7c596a97a.zip |
Add another hook
-rwxr-xr-x | roles/git/hooks/files/post-receive-chained | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/git/hooks/files/post-receive-chained b/roles/git/hooks/files/post-receive-chained new file mode 100755 index 000000000..b5c6e2311 --- /dev/null +++ b/roles/git/hooks/files/post-receive-chained @@ -0,0 +1,8 @@ +#!/bin/bash +# Redirect stdin to each of the post-receive hooks in place. + +# You need to explicitly add your hook to the following list +# for it to be invoked. +pee \ + $GIT_DIR/hooks/post-receive-chained.d/post-receive-email \ + $GIT_DIR/hooks/post-receive-chained.d/post-receive-fedmsg |