Add `make deploy`

pull/319/head
8ear 2019-08-02 09:02:32 +02:00
parent aa341219fd
commit 6bf51f4555
No known key found for this signature in database
GPG Key ID: 00AAF736693E6C4E
1 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,10 @@ prepare_docs:
generate_docs: prepare_docs
docker run --rm -it -v $(PWD):/docs squidfunk/mkdocs-material build
# https://www.mkdocs.org/user-guide/deploying-your-docs/
deploy:
docker run --rm -it -v $(PWD):/docs -v /home/$(whoami)/.docker:/root/.docker:ro squidfunk/mkdocs-material gh-deploy
ci_generate_docs: prepare_docs
mkdocs build