Skip to content

Commit

Permalink
docs: rebuild on package.json change
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Aug 25, 2020
1 parent 44ef193 commit 3ed62f0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions netlify.toml
@@ -1,11 +1,7 @@
# Global settings applied to the whole site.
#
# “base” is the directory to change to before starting build. If you set base:
# that is where we will look for package.json/.nvmrc/etc, not repo root!
# “command” is your build command.
# “publish” is the directory to publish (relative to the root of your repo).
# https://docs.netlify.com/configure-builds/file-based-configuration

[build]
base = "docs"
command = "yarn generate"
publish = "dist"
ignore = "git diff --quiet HEAD^ HEAD . ../package.json"

0 comments on commit 3ed62f0

Please sign in to comment.