1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-12 17:26:19 +00:00
Signed-off-by: David Young <davidy@funkypenguin.co.nz>
This commit is contained in:
David Young
2024-08-07 15:20:36 +12:00
parent 67b3c67bf9
commit 91a71febb5

View File

@@ -23,11 +23,13 @@ else
# latest version is broken against python 3.8 # latest version is broken against python 3.8
pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
# pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git@9.5.2-insiders-4.47.1 # pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git@9.5.2-insiders-4.47.1
ENABLE_PDF_EXPORT=1 mkdocs build -f mkdocs-insiders.yml
# Put the PDF into secret location # PDF disabled for now
mkdir -p site/${PDF_PATH} ENABLE_PDF_EXPORT=0 mkdocs build -f mkdocs-insiders.yml
mv site/funkypenguins-geek-cookbook.pdf site/${PDF_PATH}/
# # Put the PDF into secret location
# mkdir -p site/${PDF_PATH}
# mv site/funkypenguins-geek-cookbook.pdf site/${PDF_PATH}/
fi fi
# Setup any necessary netlify redirects # Setup any necessary netlify redirects