Autobuild frontent

This commit is contained in:
Pascal Vizeli 2017-07-17 15:38:17 +02:00
parent cf2db71dd3
commit b72ce7836e

View file

@ -75,8 +75,8 @@ WORKSPACE=${BUILD_DIR:=$SCRIPTPATH}/hassio-frontend
echo "[INFO] Checkout hass.io repository"
if [ ! -d "$WORKSPACE" ]; then
git clone "$REPOSITORY" "$WORKSPACE"
cd "$WORKSPACE" && git checkout "$BRANCH"
git submodule update --init --recursive
cd "$WORKSPACE" && git checkout -b "$BRANCH"
git submodule update --init --recursive --remote
fi
echo "[INFO] Start frontend build"