I have another simple 3 page site that uses the single master branch for production which works fine without a netlify.toml. But I am testing on a dummy site some of the more advanced features of working with multiple branches. The instance is: laughing-tereshkova-d11c29
There’s not much there except for an ugly starter template from gatsby, but I did manage to get another branch called ‘stage’ to deploy separately. I can successfully build the two branches separately, but I wanted to play with having different node versions and node packages for each branch using the netlify.toml.
I managed to successfully have each one use a different node version for the production and the stage, but only if I put a netlify.toml in the stage branch root. It seems more logical that the netlify.toml file be in a place where it is recognised by all branches, meaning it should also be seen by the master as well. But if I put the .toml file in ‘master’, then ‘stage’ doesn’t see it.
The directions just say to put it in the ‘base’ or ‘root’ directory of your project, but there are separate base directories for each branch. I must really be missing something that’s obvious here, so I’m preparing myself for embarassment. What am I missing in the instructions?
thanks in advance!!!