From 5b1e622434e0a9f892d2da05c23fb7d4e0cbe266 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Wed, 2 Aug 2023 14:24:43 +0200 Subject: [PATCH] feat: add mkdocs build Signed-off-by: kjuulh --- cuddle.yaml | 2 ++ scripts/mkdocs:build.sh | 5 +++++ 2 files changed, 7 insertions(+) create mode 100755 scripts/mkdocs:build.sh diff --git a/cuddle.yaml b/cuddle.yaml index 9667bde..58ef624 100644 --- a/cuddle.yaml +++ b/cuddle.yaml @@ -20,4 +20,6 @@ scripts: type: shell "mkdocs:dev": type: shell + "mkdocs:build": + type: shell \ No newline at end of file diff --git a/scripts/mkdocs:build.sh b/scripts/mkdocs:build.sh new file mode 100755 index 0000000..af5a5e4 --- /dev/null +++ b/scripts/mkdocs:build.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +set -e + +docker run --rm -it -p 8000:8000 -v ${PWD}:/docs ${MKDOCS_IMAGE}