Don't build example for this PR

This commit is contained in:
dannyrb 2019-04-19 14:43:25 -04:00
parent 6608af5daa
commit 17af9be266

View File

@ -45,14 +45,14 @@ echo $DEPLOY_PRIME_URL
export ROOT_URL=$DEPLOY_PRIME_URL/demo export ROOT_URL=$DEPLOY_PRIME_URL/demo
# cat package.json # cat package.json
yarn install # yarn install
yarn build # yarn build
cd example # cd example
yarn install # yarn install
yarn run prepare # yarn run prepare
sed -i "s,http://localhost:5000,${ROOT_URL},g" index.html # sed -i "s,http://localhost:5000,${ROOT_URL},g" index.html
sed -i 's,"routerBasename": "/","routerBasename": "/demo",g' index.html # sed -i 's,"routerBasename": "/","routerBasename": "/demo",g' index.html
rm -rf node_modules # rm -rf node_modules
mkdir docs/latest/_book/demo/ # mkdir docs/latest/_book/demo/
cp -R * docs/latest/_book/demo/ # cp -R * docs/latest/_book/demo/