mirror of
https://github.com/Luzifer/discord-community.git
synced 2024-11-08 15:10:02 +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:
|
||||
|
||||
lint:
|
||||
|
@ -31,4 +33,7 @@ push_wiki:
|
|||
# --- Local dev
|
||||
|
||||
auto-hook-pre-commit: gendoc
|
||||
|
||||
ifeq ($(BRANCH), master)
|
||||
auto-hook-post-push: push_wiki
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue