1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-13 01:36:23 +00:00

Fix building error

Signed-off-by: David Young <davidy@funkypenguin.co.nz>
This commit is contained in:
David Young
2023-01-23 11:59:48 +13:00
parent 1d4edb7fc9
commit 70e13ed389

View File

@@ -17,11 +17,12 @@ else
echo "GH_TOKEN passed, doing an insiders build.."
pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
ENABLE_PDF_EXPORT=1 mkdocs build -f mkdocs-insiders.yml
# Put the PDF into secret location
mkdir -p site/${PDF_PATH}
mv site/funkypenguins-geek-cookbook.pdf site/${PDF_PATH}/
fi
# Setup any necessary netlify redirects
cp netlify_redirects.txt site/_redirects
# Put the PDF into secret location
mkdir -p site/${PDF_PATH}
mv site/funkypenguins-geek-cookbook.pdf site/${PDF_PATH}/