mirror of
https://github.com/funkypenguin/geek-cookbook/
synced 2025-12-13 01:36:23 +00:00
Attempt a PDF build
Signed-off-by: David Young <davidy@funkypenguin.co.nz>
This commit is contained in:
@@ -16,12 +16,12 @@ then
|
|||||||
else
|
else
|
||||||
echo "GH_TOKEN passed, doing an insiders build.."
|
echo "GH_TOKEN passed, doing an insiders build.."
|
||||||
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
|
||||||
ENABLE_PDF_EXPORT=0 mkdocs build -f mkdocs-insiders.yml
|
ENABLE_PDF_EXPORT=1 mkdocs build -f mkdocs-insiders.yml
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Setup any necessary netlify redirects
|
# Setup any necessary netlify redirects
|
||||||
cp netlify_redirects.txt site/_redirects
|
cp netlify_redirects.txt site/_redirects
|
||||||
|
|
||||||
# Put the PDF into secret location
|
# Put the PDF into secret location
|
||||||
# mkdir -p site/${PDF_PATH}
|
mkdir -p site/${PDF_PATH}
|
||||||
# mv site/funkypenguins-geek-cookbook.pdf site/${PDF_PATH}/
|
mv site/funkypenguins-geek-cookbook.pdf site/${PDF_PATH}/
|
||||||
|
|||||||
Reference in New Issue
Block a user