Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: rebuild on package.json change
- Loading branch information
Showing
1 changed file
with
2 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |