From 19aa7caaa39e333d53831f0e1a31acf712f1d7d5 Mon Sep 17 00:00:00 2001 From: Zehka Date: Sun, 5 Jul 2020 18:22:00 +0200 Subject: [PATCH] fixed webhook --- configs/webhook/reload.sh | 2 ++ init.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100755 configs/webhook/reload.sh diff --git a/configs/webhook/reload.sh b/configs/webhook/reload.sh new file mode 100755 index 0000000..3b72710 --- /dev/null +++ b/configs/webhook/reload.sh @@ -0,0 +1,2 @@ +#!/bin/sh +git pull diff --git a/init.sh b/init.sh index f38bb8a..2c6f5cb 100755 --- a/init.sh +++ b/init.sh @@ -11,7 +11,7 @@ read -p "Hook endpoint Password:" ENDPOINT_PW echo "Creating volumes structure" exe mkdir $VOLUMES_PATH exe git clone $SITE_REPO $VOLUMES_PATH/repo -exe cp -rv configs/webhook $VOLUMES_PATH/webhook +exe cp -rv configs/webhook $VOLUME echo """[ { \"id\": \"$ENDPOINT_ID\",