fixed webhook

This commit is contained in:
Zehka 2020-07-05 18:22:00 +02:00
parent 1f9c8d0a84
commit 19aa7caaa3
2 changed files with 3 additions and 1 deletions

2
configs/webhook/reload.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
git pull

View File

@ -11,7 +11,7 @@ read -p "Hook endpoint Password:" ENDPOINT_PW
echo "Creating volumes structure" echo "Creating volumes structure"
exe mkdir $VOLUMES_PATH exe mkdir $VOLUMES_PATH
exe git clone $SITE_REPO $VOLUMES_PATH/repo exe git clone $SITE_REPO $VOLUMES_PATH/repo
exe cp -rv configs/webhook $VOLUMES_PATH/webhook exe cp -rv configs/webhook $VOLUME
echo """[ echo """[
{ {
\"id\": \"$ENDPOINT_ID\", \"id\": \"$ENDPOINT_ID\",