Skip to content

Commit 6879f65

Browse files
committed
🔨 Fix documentation build and serve logic in docs.sh; update submodule references for nginx-template and certbot
1 parent f7857d4 commit 6879f65

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

scripts/docs.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ main()
5454
fi
5555

5656

57-
if [ "${_IS_BUILD}" == false ]; then
58-
echo "[INFO]: Starting documentation server..."
59-
mkdocs serve
57+
if [ "${_IS_BUILD}" == true ]; then
58+
echo "[INFO]: Building documentation pages (HTML) into the 'site' directory..."
59+
mkdocs build
6060
elif [ "${_IS_PUBLISH}" == true ]; then
6161
echo "[INFO]: Publishing documentation pages to the GitHub Pages..."
6262
mkdocs gh-deploy --force
6363
else
64-
echo "[INFO]: Building documentation pages (HTML) into the 'site' directory..."
65-
mkdocs build
64+
echo "[INFO]: Starting documentation server..."
65+
mkdocs serve
6666
fi
6767
echo "[OK]: Done."
6868
}

volumes/src/server.nginx-template

volumes/src/sidecar.certbot

0 commit comments

Comments
 (0)