From 3d61c62a95943177e2300dc2ff7e1f13bf58b44c Mon Sep 17 00:00:00 2001 From: Xudong Guo Date: Mon, 8 Jul 2024 11:20:41 +0800 Subject: [PATCH] Fix netlify.toml config (#69) * fix netlify.toml --- docs/netlify.toml | 3 --- netlify.toml | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) delete mode 100644 docs/netlify.toml create mode 100644 netlify.toml diff --git a/docs/netlify.toml b/docs/netlify.toml deleted file mode 100644 index e6d5373..0000000 --- a/docs/netlify.toml +++ /dev/null @@ -1,3 +0,0 @@ -[build] - base = "/docs" - ignore = "git diff --quiet HEAD^ HEAD /docs" \ No newline at end of file diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..04eafb0 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,4 @@ +[build] + base = "docs" + publish = "build" + ignore = "git diff --quiet $COMMIT_REF $CACHED_COMMIT_REF -- ../docs/ . ../netlify.toml" \ No newline at end of file