Gatsby Wordpress CMS deploying build issue

I need advice to debug deploy, the site build just fine if I drop the folder into the docs, but is not building properly when triggering the build from GitHub. Not sure why, seems like is a problem with paths during build command in Netlify. The app is live but I have to drop the build folder for it to work.

Netlify App

hi there, seems like something isn’t configured quite right.

Does the site build locally properly, but fail when you deploy to Netlify?

If yes - it may be an issue with case sensitivity.

Can you give this a read through and let us know if that fixes the issue?

This Support Guide contains a ton of useful debugging tips that can likely help.

If still no luck, please post your package.json and a screenshot of your build settings, we’ll need that to keep troubleshooting if you are unable to fix with the guides above.