Build docs using local docker image [ci skip]
This commit is contained in:
parent
a2cf3792e3
commit
4c85ef7dd3
2 changed files with 43 additions and 2 deletions
6
Makefile
6
Makefile
|
|
@ -223,8 +223,10 @@ dev-env:
|
|||
|
||||
.PHONY: live-docs
|
||||
live-docs:
|
||||
@docker run --rm -it -p 3000:3000 -v ${PWD}:/docs aledbf/mkdocs:0.1
|
||||
@docker build --pull -t ingress-nginx/mkdocs build/mkdocs
|
||||
@docker run --rm -it -p 3000:3000 -v ${PWD}:/docs ingress-nginx/mkdocs
|
||||
|
||||
.PHONY: build-docs
|
||||
build-docs:
|
||||
@docker run --rm -it -v ${PWD}:/docs aledbf/mkdocs:0.1 build
|
||||
@docker build --pull -t ingress-nginx/mkdocs build/mkdocs
|
||||
@docker run --rm -it -v ${PWD}:/docs ingress-nginx/mkdocs build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue