From 4a8e7244f8ef9d23e9f0c00e23242bf1727b115d Mon Sep 17 00:00:00 2001 From: Mohamad Mova AlAfghani Date: Sat, 24 Jun 2023 22:50:48 +0700 Subject: [PATCH] Update netlify.toml --- netlify.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index bb391d3..f43d6df 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,5 +1,5 @@ [build] - command = "rm -rf __obsidian __site && mkdir __obsidian && mv * __obsidian || true && git clone https://github.com/ppeetteerrs/obsidian-zola.git __site && __site/run.sh" + command = "rm -rf __obsidian __site && mkdir __obsidian && find . -maxdepth 1 ! -name '__obsidian' -exec mv {} __obsidian/ \\; && git clone https://github.com/ppeetteerrs/obsidian-zola.git __site && __site/run.sh" publish = "public" [build.environment]