mirror of
https://github.com/nicholaswilde/recipes.git
synced 2025-10-29 11:44:47 +00:00
feat: add build and update serve to use personal mkdocs-material image
Signed-off-by: nιcнolaѕ wιlde <ncwilde43@gmail.com>
This commit is contained in:
parent
0c915c80a9
commit
ae22679819
@ -8,6 +8,11 @@ vars:
|
||||
PORT: 8000
|
||||
|
||||
tasks:
|
||||
build:
|
||||
desc: Build mkdocs-material Dockerfile
|
||||
cmds:
|
||||
- docker build -t ghcr.io/nicholaswilde/mkdocs-material .
|
||||
|
||||
linkspector:
|
||||
desc: linkspector
|
||||
cmds:
|
||||
@ -92,7 +97,7 @@ tasks:
|
||||
cmds:
|
||||
- >-
|
||||
docker run --rm -it -p {{ .PORT }}:{{ .PORT}} -v ${PWD}:/docs
|
||||
--platform linux/amd64 squidfunk/mkdocs-material serve
|
||||
--platform linux/amd64 ghcr.io/nicholaswilde/mkdocs-material serve
|
||||
--dev-addr 0.0.0.0:{{ .PORT }} -f ./mkdocs.yml
|
||||
serve-local:
|
||||
desc: Serve a local mkdocs server
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user