From 786c392bd5d4931f012a4dff8d9e97a7a3b99190 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Mon, 17 Dec 2018 18:56:48 +0400 Subject: [PATCH] :green_heart: Fix Netlify build with pipenv --- scripts/netlify-docs.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/netlify-docs.sh b/scripts/netlify-docs.sh index d2b62c8e9..5a9099613 100644 --- a/scripts/netlify-docs.sh +++ b/scripts/netlify-docs.sh @@ -1,3 +1,7 @@ #!/usr/bin/env bash - -$HOME/python$PIPENV_RUNTIME/bin/pipenv run -- mkdocs build +# Install pipenv to be able to install from Pipfile +pip install pipenv +# Install Pipfile including --dev, to install mkdocs and plugins +pipenv install --dev +# Finally, run mkdocs +mkdocs build