Dev: Disable Wiki update on non-master-branch

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-07-31 23:05:17 +02:00
parent a8e11e11bd
commit 9cc66bc610
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -1,3 +1,5 @@
BRANCH:=$(shell git branch --show-current)
default: default:
lint: lint:
@ -31,4 +33,7 @@ push_wiki:
# --- Local dev # --- Local dev
auto-hook-pre-commit: gendoc auto-hook-pre-commit: gendoc
ifeq ($(BRANCH), master)
auto-hook-post-push: push_wiki auto-hook-post-push: push_wiki
endif