From 687595b4c9dabedfea4130a6986fdd42cc53add0 Mon Sep 17 00:00:00 2001 From: Vezpi Date: Mon, 2 Jun 2025 09:21:09 +0000 Subject: [PATCH] fix: add recurse-submodules in the git clone --- docker/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index ebb58ec..bf58ec2 100644 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -7,7 +7,7 @@ BRANCH="${BRANCH:-preview}" CLONE_DIR="${CLONE_DIR:-/blog}" echo "Cloning $REPO_URL (branch: $BRANCH)..." -git clone --depth 1 --branch "$BRANCH" "$REPO_URL" "$CLONE_DIR" +git clone --depth 1 --recurse-submodules --branch "$BRANCH" "$REPO_URL" "$CLONE_DIR" echo "Building site with Hugo $HUGO_VERSION..." hugo --source "$CLONE_DIR" --destination "$HUGO_DEST" --cleanDestinationDir