update webhook deploy.sh & ignore hooks.json

This commit is contained in:
Ulf Gebhardt 2023-10-04 18:51:08 +02:00
parent 2d54fb24ca
commit db34565455
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9
2 changed files with 5 additions and 0 deletions

View File

@ -6,6 +6,10 @@ SCRIPT_DIR=$(dirname $SCRIPT_PATH)
PROJECT_ROOT=$SCRIPT_DIR/../..
DEPLOY_DIR=$i
BUILD_DIR=$PROJECT_ROOT/docs/.vuepress/dist
# assuming you are already on the right branch
git pull -ff
GIT_REF=$(git rev-parse --short HEAD)
DEPLOY_DIR_REF=$1-$GIT_REF

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/node_modules/
/docs/.vuepress/dist/
/.github/webhooks/hooks.json