Merge pull request #691 from aluzzardi/docs-netlify-toml
docs: move netlify.toml to website
This commit is contained in:
commit
21c76f2873
@ -1,5 +1,4 @@
|
|||||||
[build]
|
[build]
|
||||||
base = "website/"
|
|
||||||
publish = "build/"
|
publish = "build/"
|
||||||
command = "yarn build"
|
command = "yarn build"
|
||||||
|
|
||||||
@ -10,12 +9,12 @@
|
|||||||
# compare the current commit to the previous.
|
# compare the current commit to the previous.
|
||||||
# We can't use `$CACHED_COMMIT_REF` because that points to the PR preview
|
# We can't use `$CACHED_COMMIT_REF` because that points to the PR preview
|
||||||
# that was built before merging.
|
# that was built before merging.
|
||||||
ignore = "git diff --quiet HEAD^ HEAD -- . ../docs/ ../netlify.toml"
|
ignore = "git diff --quiet HEAD^ HEAD -- . ../docs/"
|
||||||
|
|
||||||
[context.deploy-preview]
|
[context.deploy-preview]
|
||||||
# Do not build the site if there's no site-related changes since the last
|
# Do not build the site if there's no site-related changes since the last
|
||||||
# deploy.
|
# deploy.
|
||||||
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF . ../docs/ ../netlify.toml"
|
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF . ../docs/"
|
||||||
command = "yarn build:withoutAuth"
|
command = "yarn build:withoutAuth"
|
||||||
|
|
||||||
[[redirects]]
|
[[redirects]]
|
Reference in New Issue
Block a user