fix: use explicit submodule paths instead of --exclude flag
git submodule update does not support --exclude flag. Explicitly specify Docker submodules: server-core, dashboard-ui
This commit is contained in:
@@ -45,10 +45,9 @@ git pull origin main || { GIT_PULL_FAILED=true; echo "[!] Git pull for main repo
|
|||||||
|
|
||||||
echo "[+] Syncing and updating submodules..."
|
echo "[+] Syncing and updating submodules..."
|
||||||
SUBMODULE_FAILED=false
|
SUBMODULE_FAILED=false
|
||||||
# Exclude device-agent and device-agent-embedded (built separately, not Docker)
|
# Only update server-core and dashboard-ui (Docker components)
|
||||||
git submodule update --init --recursive --remote \
|
# device-agent and device-agent-embedded are built separately
|
||||||
--exclude apps/device-agent \
|
git submodule update --init --remote apps/server-core apps/dashboard-ui || { SUBMODULE_FAILED=true; echo "[!] Git submodule update skipped or failed."; }
|
||||||
--exclude apps/device-agent-embedded || { 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