Skip to content

Commit 3ed62f0

Browse files
committed
docs: rebuild on package.json change
1 parent 44ef193 commit 3ed62f0

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

netlify.toml

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
1-
# Global settings applied to the whole site.
2-
#
3-
# “base” is the directory to change to before starting build. If you set base:
4-
# that is where we will look for package.json/.nvmrc/etc, not repo root!
5-
# “command” is your build command.
6-
# “publish” is the directory to publish (relative to the root of your repo).
1+
# https://docs.netlify.com/configure-builds/file-based-configuration
72

83
[build]
94
base = "docs"
105
command = "yarn generate"
116
publish = "dist"
7+
ignore = "git diff --quiet HEAD^ HEAD . ../package.json"

0 commit comments

Comments
 (0)