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..."
|
||||
SUBMODULE_FAILED=false
|
||||
# Exclude device-agent and device-agent-embedded (built separately, not Docker)
|
||||
git submodule update --init --recursive --remote \
|
||||
--exclude apps/device-agent \
|
||||
--exclude apps/device-agent-embedded || { SUBMODULE_FAILED=true; echo "[!] Git submodule update skipped or failed."; }
|
||||
# Only update server-core and dashboard-ui (Docker components)
|
||||
# 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."; }
|
||||
|
||||
# 2b. Build VitePress docs (non-blocking)
|
||||
echo "[+] Building VitePress documentation..."
|
||||
|
||||
Reference in New Issue
Block a user