From 4941e271ed16b3e97d28d005b03fdea84d2c1f5f Mon Sep 17 00:00:00 2001 From: dannyrb Date: Wed, 17 Apr 2019 14:34:49 -0400 Subject: [PATCH] Temporarily disable demo deploy --- generateStaticSite.sh | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/generateStaticSite.sh b/generateStaticSite.sh index 104304302..ae590db11 100755 --- a/generateStaticSite.sh +++ b/generateStaticSite.sh @@ -41,18 +41,18 @@ done cd .. # Build and copy the StandaloneViewer into the static directory -echo $DEPLOY_PRIME_URL -export ROOT_URL=$DEPLOY_PRIME_URL/demo +# echo $DEPLOY_PRIME_URL +# export ROOT_URL=$DEPLOY_PRIME_URL/demo -cat package.json -yarn install -yarn build +# cat package.json +# yarn install +# yarn build -cd example -yarn install -yarn run prepare -sed -i "s,http://localhost:5000,${ROOT_URL},g" index.html -sed -i 's,"routerBasename": "/","routerBasename": "/demo",g' index.html -rm -rf node_modules -mkdir docs/latest/_book/demo/ -cp -R * docs/latest/_book/demo/ +# cd example +# yarn install +# yarn run prepare +# sed -i "s,http://localhost:5000,${ROOT_URL},g" index.html +# sed -i 's,"routerBasename": "/","routerBasename": "/demo",g' index.html +# rm -rf node_modules +# mkdir docs/latest/_book/demo/ +# cp -R * docs/latest/_book/demo/