Use homepage to fix static site deploy preview
This commit is contained in:
parent
fbfc3f6163
commit
fa0bcfe31f
@ -10,9 +10,11 @@ echo 'Running Gitbook installation'
|
||||
cd ..
|
||||
|
||||
# Build and copy the StandaloneViewer into the static directory
|
||||
# echo $DEPLOY_PRIME_URL
|
||||
# export ROOT_URL=$DEPLOY_PRIME_URL:/viewer/
|
||||
echo $DEPLOY_PRIME_URL
|
||||
cd OHIFViewer-react
|
||||
export ROOT_URL=$DEPLOY_PRIME_URL:/viewer/
|
||||
sed -i 's,https://docs.ohif.org/viewer,${ROOT_URL},g' package.json
|
||||
cat package.json
|
||||
npm install
|
||||
npm run build
|
||||
mkdir ../docs/_book/viewer/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user