ui: Netlify previews (#6419)

- Add netlify redirects file
- Add netlify makefile target and commented config settings
pull/6436/head
John Cowen 5 years ago committed by John Cowen
parent 2369c47033
commit d1b7f92e5e

@ -7,6 +7,19 @@ deps: node_modules clean
clean: clean:
rm -rf ./tmp rm -rf ./tmp
# target for netlify ui previews
# Netlify Settings
# base-directory: ui-v2
# build command: make netlify
# publish directory: ui-v2/ui-dist
netlify: build-staging
mkdir -p ui-dist/ui \
&& mv dist/* ui-dist/ui/ \
&& cp _redirects ui-dist/_redirects
build-staging: deps
yarn run build:staging
build-ci: deps build-ci: deps
yarn run build-ci --output-path=dist yarn run build-ci --output-path=dist

@ -0,0 +1,2 @@
/ /ui
/ui/* /ui/index.html 200
Loading…
Cancel
Save