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