mirror of https://github.com/status-im/consul.git
ui: Netlify previews (#6419)
- Add netlify redirects file - Add netlify makefile target and commented config settings
This commit is contained in:
parent
2369c47033
commit
d1b7f92e5e
|
@ -7,6 +7,19 @@ deps: node_modules clean
|
|||
clean:
|
||||
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
|
||||
yarn run build-ci --output-path=dist
|
||||
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
/ /ui
|
||||
/ui/* /ui/index.html 200
|
Loading…
Reference in New Issue