I have been playing around with the netlify.toml file and i am not sure if this is possible anymore.
I am building 2 sites from the same repo.
e.g
-Root
- Site A
- netlify.toml
- Site B
- netlify.toml
I have an [build] ignore setting and a [deploy] ignore setting inside the toml file that looks like this:
[build]
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF ."
[deploy]
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF ."
From what i read there needs to be a netlify.toml
file on the root of the application which specifies the base directory.
e.g
-Root
++netlify.toml
- Site A
- netlify.toml
- Site B
- netlify.toml
and be configured to target the build directory. What if i need it to target Site A
on some deployments and Site B
on some deployments?
Would it i be needing to use env variables to configure a dynamic base directory? Is there a step that i am missing or misunderstanding?