Build failed with an error, but deployment succeed

We’re facing the same issue with our Gatsby site. Build command exits with status 1 but Cloudflare Pages declares the build as a success and deploys the broken build artifacts.

This is probably the same issue: Gatsby build fails with exit code 1, but deploy starts and finishes, rendering our app 404

1 Like