diff --git a/generateStaticSite.sh b/generateStaticSite.sh index c29fb5d74..3036f8c8b 100755 --- a/generateStaticSite.sh +++ b/generateStaticSite.sh @@ -45,14 +45,14 @@ echo $DEPLOY_PRIME_URL export ROOT_URL=$DEPLOY_PRIME_URL/demo # cat package.json -yarn install -yarn build +# 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/