From ada377ef8e8db10226a98ac27f5b3317df8139b5 Mon Sep 17 00:00:00 2001 From: Vezpi Date: Mon, 1 Sep 2025 18:25:50 +0000 Subject: [PATCH] feat: add rm blog dir in init script --- docker/entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index e0012d4..8178a50 100644 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -14,6 +14,9 @@ if [ "$BRANCH" = "preview" ]; then DRAFTS="--buildDrafts --buildFuture" fi +# Clean blog dir +rm -rf "$CLONE_DIR" + # Clone repo echo "- Cloning $REPO_URL (branch: $BRANCH)..." git clone --recurse-submodules --branch "$BRANCH" "$REPO_URL" "$CLONE_DIR"