Browse Source

fixed webhook

master
Zehka 8 months ago
parent
commit
19aa7caaa3
2 changed files with 3 additions and 1 deletions
  1. +2
    -0
      configs/webhook/reload.sh
  2. +1
    -1
      init.sh

+ 2
- 0
configs/webhook/reload.sh View File

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

+ 1
- 1
init.sh View File

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


Loading…
Cancel
Save