ansible/roles/git/hooks/files/post-received-chained
Mathieu Bridon fed72f7ba1 Add a new git/hooks role
This will be needed to migrate Dist Git from puppet to ansible.
2014-08-26 18:28:25 +00:00

8 lines
290 B
Bash

#!/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