summaryrefslogtreecommitdiff
path: root/post-receive.tmpl
diff options
context:
space:
mode:
authorClaudius 'keldu' Holeksa <mail@keldu.de>2024-08-01 15:34:28 +0200
committerClaudius 'keldu' Holeksa <mail@keldu.de>2024-08-01 15:34:28 +0200
commitcd45b624c2944998295d40d5f1f7e41fce972b7f (patch)
treef6ccdf356433e094542ca0fad721bcf8c133ba58 /post-receive.tmpl
Diffstat (limited to 'post-receive.tmpl')
-rw-r--r--post-receive.tmpl11
1 files changed, 11 insertions, 0 deletions
diff --git a/post-receive.tmpl b/post-receive.tmpl
new file mode 100644
index 0000000..5d80cce
--- /dev/null
+++ b/post-receive.tmpl
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+
+hook_active= {{ active }}
+remote_url= {{ ci_url }}
+
+if [ "$hook_active" == false ]; then
+ echo 'Notify ci hook is not active!'
+ exit -1
+fi
+
+