Netlify doesn't have yarn, so switch it to npm

This commit is contained in:
Erik Ziegler 2018-12-17 20:53:59 +01:00
parent f2ca5629c8
commit fbfc3f6163

View File

@ -13,7 +13,7 @@ cd ..
# echo $DEPLOY_PRIME_URL
# export ROOT_URL=$DEPLOY_PRIME_URL:/viewer/
cd OHIFViewer-react
yarn install
yarn run build
npm install
npm run build
mkdir ../docs/_book/viewer/
cp -R build/* ../docs/_book/viewer/