From 131a0e0ba5e9eec77035d555c707f39a0f6899fc Mon Sep 17 00:00:00 2001 From: nihilist Date: Tue, 6 May 2025 18:45:10 +0200 Subject: [PATCH] recursive clone --- entry.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entry.sh b/entry.sh index dd6f1aa..c633bba 100644 --- a/entry.sh +++ b/entry.sh @@ -12,9 +12,9 @@ while true; do git config --global --add http.proxy socks5h://localhost:9050 if [ -d "/repo/.git" ]; then git restore . - git pull origin "${BRANCH}" + git pull origin "${BRANCH}" --recurse-submodules else - git clone -b "${BRANCH}" "${REPO_URL}" /repo + git clone -b "${BRANCH}" "${REPO_URL}" /repo --recursive fi; sed -i "s/^site_url:.*//g" /repo/mkdocs.yml