fix: add --recursive flag for nested submodule updates
This commit is contained in:
@@ -47,7 +47,7 @@ echo "[+] Syncing and updating submodules..."
|
|||||||
SUBMODULE_FAILED=false
|
SUBMODULE_FAILED=false
|
||||||
# Only update server-core and dashboard-ui (Docker components)
|
# Only update server-core and dashboard-ui (Docker components)
|
||||||
# device-agent and device-agent-embedded are built separately
|
# device-agent and device-agent-embedded are built separately
|
||||||
git submodule update --init --remote apps/server-core apps/dashboard-ui || { SUBMODULE_FAILED=true; echo "[!] Git submodule update skipped or failed."; }
|
git submodule update --init --recursive --remote apps/server-core apps/dashboard-ui || { SUBMODULE_FAILED=true; echo "[!] Git submodule update skipped or failed."; }
|
||||||
|
|
||||||
# 2b. Build VitePress docs (non-blocking)
|
# 2b. Build VitePress docs (non-blocking)
|
||||||
echo "[+] Building VitePress documentation..."
|
echo "[+] Building VitePress documentation..."
|
||||||
|
|||||||
Reference in New Issue
Block a user