chore: Use same config for branch deploys as for deploy previews (#1893) (#1916)

This commit is contained in:
Erik Ziegler authored and GitHub committed 2020-07-23 09:42:42 +02:00
1 parent 8f1785446b
commit 6a77d6c778
6 files changed
+100 -7

No files matched your search

+13
View File
@@ -21,6 +21,19 @@ mv platform/viewer/dist/* .netlify/www/pwa -v
# Build && Move script output
# yarn run build:package
# Build && Move Docz Output
# Using local yarn install to prevent Gatsby from needing to access
# node_modules above the platform/ui folder
cd platform/ui
yarn install
yarn run build
cd ../..
mkdir -p ./.netlify/www/ui
mv platform/ui/.docz/dist/* .netlify/www/ui -v
# Cache all of the node_module dependencies in
# extensions, modules, and platform packages
yarn run lerna:cache
echo 'Nothing left to see here. Go home, folks.'
# Build using react-scripts