We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdb09b9 commit 208ab3bCopy full SHA for 208ab3b
scripts/deploy_app.sh
@@ -1,12 +1,16 @@
1
#!/bin/bash
2
set -e # Quit on error.
3
4
-# Build the webapp.
5
-echo "#############################"
6
-echo "Building the webapp..."
7
8
-npm install
9
-npm run build
+if [[ "$@" == *"--no-rebuild"* ]]; then
+ echo "Webapp will be installed from the dist/ folder without rebuild."
+else
+ # Build the webapp.
+ echo "#############################"
+ echo "Building the webapp..."
10
11
+ npm install
12
+ npm run build
13
+fi
14
15
echo
16
echo "Installing the web app..."
0 commit comments