From 575d11ac5babcbf5c311886c3a2fed0acc803cf6 Mon Sep 17 00:00:00 2001 From: dannyrb Date: Tue, 16 Jul 2019 12:42:40 -0400 Subject: [PATCH] Annd let's try again --- .netlify/build-deploy-preview.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.netlify/build-deploy-preview.sh b/.netlify/build-deploy-preview.sh index 2c6a09fb2..a471c27be 100644 --- a/.netlify/build-deploy-preview.sh +++ b/.netlify/build-deploy-preview.sh @@ -13,9 +13,9 @@ npm root -g yarn global bin yarn config get prefix yarn config set prefix ~/.yarn -export PATH="$PATH:`yarn global bin`" - -bash -l +# export PATH="$PATH:`yarn global bin`" +export PATH="$PATH:$(yarn global bin)" +# export PATH # Make sure `node` can access globally installed binaries # export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH" @@ -27,6 +27,7 @@ bash -l # Install GitBook CLI echo 'Installing Gitbook CLI' yarn global add gitbook-cli +npm install -g gitbook-cli echo 'Running Gitbook installation' # Generate all version's GitBook output