Add automated actions for Wiki

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-07-25 15:02:54 +02:00
parent 378a2247ec
commit 1dcabc7153
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -2,6 +2,7 @@ default:
gendoc: .venv
.venv/bin/python3 ci/gendoc.py $(shell grep -l '@module ' *.go) >wiki/Home.md
git add wiki/Home.md
.venv:
python -m venv .venv
@ -14,3 +15,8 @@ pull_wiki:
push_wiki:
git subtree push --prefix=wiki https://github.com/Luzifer/discord-community.wiki.git master
# --- Local dev
auto-hook-pre-commit: gendoc
auto-hook-post-push: push_wiki