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