We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccb8f97 commit d70335eCopy full SHA for d70335e
netlify.toml
@@ -1,4 +1,4 @@
1
[build]
2
- ignore = "git diff --quiet HEAD^ HEAD ./docs/ && ! git diff HEAD^ HEAD ./yarn.lock | grep vite"
+ ignore = "./scripts/docs-check.sh"
3
publish = "docs/.vitepress/dist"
4
command = "yarn run docs:build"
scripts/docs-check.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+# check if doc files changes for netlify
+# needed because we cannot use && in netlify.toml
5
6
+ git diff --quiet 'HEAD^' HEAD ./docs/ && ! git diff 'HEAD^' HEAD ./yarn.lock | grep --quiet vite
0 commit comments