fixed webhook

Cette révision appartient à :
Zehka 2020-07-05 18:22:00 +02:00
Parent 1f9c8d0a84
révision 19aa7caaa3
2 fichiers modifiés avec 3 ajouts et 1 suppressions

2
configs/webhook/reload.sh Fichier exécutable
Voir le fichier

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

Voir le fichier

@ -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\",