Autobuild frontent
This commit is contained in:
parent
cf2db71dd3
commit
b72ce7836e
1 changed files with 2 additions and 2 deletions
|
@ -75,8 +75,8 @@ WORKSPACE=${BUILD_DIR:=$SCRIPTPATH}/hassio-frontend
|
||||||
echo "[INFO] Checkout hass.io repository"
|
echo "[INFO] Checkout hass.io repository"
|
||||||
if [ ! -d "$WORKSPACE" ]; then
|
if [ ! -d "$WORKSPACE" ]; then
|
||||||
git clone "$REPOSITORY" "$WORKSPACE"
|
git clone "$REPOSITORY" "$WORKSPACE"
|
||||||
cd "$WORKSPACE" && git checkout "$BRANCH"
|
cd "$WORKSPACE" && git checkout -b "$BRANCH"
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive --remote
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "[INFO] Start frontend build"
|
echo "[INFO] Start frontend build"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue