Change expected react dir
This commit is contained in:
1 parent
8415120378
commit
605bd4f2bc
1 file changed
+3
-5
@@ -22,7 +22,7 @@ for D in *; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Move CNAME File into `latest`
|
# Move CNAME File into `latest`
|
||||||
cp CNAME ./latest/CNAME
|
cp CNAME ./latest/_book/CNAME
|
||||||
|
|
||||||
# Create a history folder in our latest version's output
|
# Create a history folder in our latest version's output
|
||||||
mkdir ./latest/_book/history
|
mkdir ./latest/_book/history
|
||||||
@@ -42,7 +42,6 @@ cd ..
|
|||||||
|
|
||||||
# Build and copy the StandaloneViewer into the static directory
|
# Build and copy the StandaloneViewer into the static directory
|
||||||
echo $DEPLOY_PRIME_URL
|
echo $DEPLOY_PRIME_URL
|
||||||
cd Packages-react/ohif-viewer
|
|
||||||
export ROOT_URL=$DEPLOY_PRIME_URL/demo
|
export ROOT_URL=$DEPLOY_PRIME_URL/demo
|
||||||
|
|
||||||
cat package.json
|
cat package.json
|
||||||
@@ -55,6 +54,5 @@ 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/
|
||||||
cp ../../../_redirects ../../../docs/latest/_book/_redirects
|
|
||||||
Reference in new issue
Block a user