mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 05:34:05 -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() {
|
||||
echo "build react-app"
|
||||
cd react-app
|
||||
npm run build
|
||||
cd ..
|
||||
(cd react-app && npm run build)
|
||||
rm -rf ./static/react-app
|
||||
mv ./react-app/build ./static/react-app
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue