Browse Source

fixed webhook

master
Zehka 4 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 @@
1
+#!/bin/sh
2
+git pull

+ 1
- 1
init.sh View File

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

Loading…
Cancel
Save