I have a Gatsby site that shall go in a subdirectory like /seo-newyork that I then address via a _redirects file in my home folder which has the entry
/* /seo-newyork/:splat 301!
The only issue is that the deployment to that deployment folder /seo-newyork does not work as the directory is not found.
My netlify.toml looks like this:
publish = “/seo-newyork”
command = “npm run build”
YARN_VERSION = “1.3.2”
YARN_FLAGS = “–no-ignore-optional”