From 1f055819946fb682bc770bc0a3a52e37294a06d1 Mon Sep 17 00:00:00 2001 From: Ettore Dreucci Date: Wed, 8 Oct 2025 23:07:14 +0200 Subject: [PATCH] Git clone recursive --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index e441f99..b3d6f38 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -15,7 +15,7 @@ WEBHOOK_BIN="/usr/local/bin/webhook" # Clone repo into volume if missing if [ ! -d "$REPO_DIR/.git" ]; then echo "Cloning $GIT_REPO (branch $GIT_BRANCH) into $REPO_DIR" - git clone --branch "$GIT_BRANCH" --single-branch "$GIT_REPO" "$REPO_DIR" + git clone --branch "$GIT_BRANCH" --single-branch --recursive "$GIT_REPO" "$REPO_DIR" else echo "Repository already exists at $REPO_DIR" fi