Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: David Young <davidy@funkypenguin.co.nz>
  • Loading branch information
funkypenguin committed Aug 7, 2024
1 parent 67b3c67 commit 91a71fe
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@ else
# 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@9.5.2-insiders-4.47.1
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}/
# PDF disabled for now
ENABLE_PDF_EXPORT=0 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
Expand Down

0 comments on commit 91a71fe

Please sign in to comment.