I will be upgrading an existing Gatby 3 production site to Gatsby 4.2.
I’ve used Node v16.6.2 npm 8.0.0 on my localhost for development work in a separate “development” branch.
When I deployed the development branch I realized the site currently uses node v10.24.1 (npm v6.14.12) as reported in the deployment log.
I’d prefer not to have to create a new project for this and have to re-implement the domain setup.
How can I approach this?
I had completely forgotten about the toml file I set up a couple years ago. Thank you.
For anyone looking for a solution, I was able to resolve the issue by adding the following to the toml:
OK. I think I figured this out. The context has to be the branch name. For example, if your branch is “mybranch” your environment setting would look like this: