build: fix dashboard deployment (#12293)

This commit is contained in:
Paul Gschwendtner
2018-07-20 17:26:39 +02:00
committed by Joey Perrott
parent e13bfe08c7
commit f9b9e25d61
6 changed files with 4955 additions and 4717 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ firebaseBin=$(npm bin)/firebase
cd ${dashboardFolder}
# Install node_modules for the dashboard and afterwards build the dashboard app in production.
(npm install; $(npm bin)/ng build --aot -prod) &
(npm install; npm run build-production) &
# Install node modules for dashboard functions. Firebase CLI needs to execute the functions
# to collect all function names before it can deploy them.