1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-12 17:26:19 +00:00

Try to fix build issues

Signed-off-by: David Young <davidy@funkypenguin.co.nz>
This commit is contained in:
David Young
2022-08-23 13:33:55 +12:00
parent 1593f04918
commit 58c4206b92

View File

@@ -10,11 +10,11 @@
# install mkdocs (or insiders version, if we're passed a GH_TOKEN var)
if [ -z "$GH_TOKEN" ]
then
echo "No GH_TOKEN passed, doing a normal build.."
pip install mkdocs-material
ENABLE_PDF_EXPORT=0 mkdocs build -f mkdocs.yml
else
# Bypass search issue described at https://github.com/squidfunk/mkdocs-material/issues/3053
# git clone --depth 1 https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
echo "GH_TOKEN passed, doing an insiders build.."
pip install -e mkdocs-material-insiders
ENABLE_PDF_EXPORT=0 mkdocs build -f mkdocs-insiders.yml
fi