mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Only switch dir temporarily in build_ui.sh
Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
parent
ad21ef3d76
commit
9b27e0d915
|
@ -31,9 +31,7 @@ function buildModule() {
|
||||||
|
|
||||||
function buildReactApp() {
|
function buildReactApp() {
|
||||||
echo "build react-app"
|
echo "build react-app"
|
||||||
cd react-app
|
(cd react-app && npm run build)
|
||||||
npm run build
|
|
||||||
cd ..
|
|
||||||
rm -rf ./static/react-app
|
rm -rf ./static/react-app
|
||||||
mv ./react-app/build ./static/react-app
|
mv ./react-app/build ./static/react-app
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue