I want to setup a netlify.toml file to ignore any changes that aren’t made towards the
theme/ directory or towards the
How would I now setup the file to ignore everything else?
I’ve already read about the ignore option but I’m not sure how the configuration should look like when I want to include multiple files and paths.
I’m not used to the toml syntax, so I’m a bit lost and would appreciate help.
Would this be a good way to do it?
[build] ignore = """ git diff --quiet HEAD^ HEAD /docs && git diff --quiet HEAD^ HEAD /theme && git diff --quiet HEAD^ HEAD mkdocs.yml """