fixed webhook

This commit is contained in:
Zehka 2020-07-05 18:22:00 +02:00
父節點 1f9c8d0a84
當前提交 19aa7caaa3
共有 2 個文件被更改,包括 3 次插入1 次删除

2
configs/webhook/reload.sh Executable file
查看文件

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

查看文件

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