I have a similar problem to
although my situation is as follows:
– (Gatsby files)
where Gatsby files are the standard Gatsby files from the Gatsby root directory.
I want my gatsby site to be accessible at mydomain.com/blog and my .index.html file from that root dir to remain accessible at my domain.com just as it is now.
As suggested in that Post above, I set my Netlify build command as:
gatsby build && mkdir new-public/blog && cp public/* new-public/blog
and publish directory as:
But the build fails. It looks like it fails to create the directory. My Gatsby config doesn’t use
Btw why does Netlify install Node 8.16.2 instead of a recent release?
2:50:59 PM: Executing user command: mkdir new-public/blog && gatsby build && cp public/* new-public/blog 2:50:59 PM: mkdir: cannot create directory ‘new-public/blog’ 2:50:59 PM: : No such file or directory 2:50:59 PM: Skipping functions preparation step: no functions directory set