summaryrefslogtreecommitdiff
path: root/post-commit.tmpl
diff options
context:
space:
mode:
authorClaudius 'keldu' Holeksa <mail@keldu.de>2024-08-01 13:57:53 +0200
committerClaudius 'keldu' Holeksa <mail@keldu.de>2024-08-01 13:57:53 +0200
commit375c8da8d9ec99c2e62ebf4492b936f01e83393c (patch)
treead3b36669f56e63f39c6e199196cafc2ffc5b9a3 /post-commit.tmpl
parentf905e09ade90b9d8a047b24204f82f6b9bb08407 (diff)
changed to post-receiveHEADmaster
Diffstat (limited to 'post-commit.tmpl')
-rw-r--r--post-commit.tmpl15
1 files changed, 0 insertions, 15 deletions
diff --git a/post-commit.tmpl b/post-commit.tmpl
deleted file mode 100644
index 1904182..0000000
--- a/post-commit.tmpl
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/env bash
-
-hook_active= {{ active }}
-remote_url= {{ mirror_url }}
-
-if [ "$hook_active" == false ]; then
- echo 'Mirror push hook is not active!'
- exit -1
-fi
-
-if git ls-remote $remote_url; then
- echo "mirro_foo" > /tmp/mirror_foo
-else
- echo "mirror_bat" > /tmp/mirror_baz
-fi