mirror of
https://github.com/funkypenguin/geek-cookbook/
synced 2025-12-15 02:36:38 +00:00
Try to fix build issues
Signed-off-by: David Young <davidy@funkypenguin.co.nz>
This commit is contained in:
@@ -10,11 +10,11 @@
|
|||||||
# install mkdocs (or insiders version, if we're passed a GH_TOKEN var)
|
# install mkdocs (or insiders version, if we're passed a GH_TOKEN var)
|
||||||
if [ -z "$GH_TOKEN" ]
|
if [ -z "$GH_TOKEN" ]
|
||||||
then
|
then
|
||||||
|
echo "No GH_TOKEN passed, doing a normal build.."
|
||||||
pip install mkdocs-material
|
pip install mkdocs-material
|
||||||
ENABLE_PDF_EXPORT=0 mkdocs build -f mkdocs.yml
|
ENABLE_PDF_EXPORT=0 mkdocs build -f mkdocs.yml
|
||||||
else
|
else
|
||||||
# Bypass search issue described at https://github.com/squidfunk/mkdocs-material/issues/3053
|
echo "GH_TOKEN passed, doing an insiders build.."
|
||||||
# git clone --depth 1 https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
|
|
||||||
pip install -e mkdocs-material-insiders
|
pip install -e mkdocs-material-insiders
|
||||||
ENABLE_PDF_EXPORT=0 mkdocs build -f mkdocs-insiders.yml
|
ENABLE_PDF_EXPORT=0 mkdocs build -f mkdocs-insiders.yml
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user