mirror of
https://github.com/Luzifer/discord-community.git
synced 2024-12-20 02:11:23 +00:00
Dev: Disable Wiki update on non-master-branch
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
a8e11e11bd
commit
9cc66bc610
1 changed files with 5 additions and 0 deletions
5
Makefile
5
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue