# React App, Netlify deploy from GitHub not deploying

**URL:** <https://answers.netlify.com/t/react-app-netlify-deploy-from-github-not-deploying/21845>\
**Category:** Support\
**Tags:** deployment\
**Created:** [September 2, 2020, 3:06am UTC](https://answers.netlify.com/t/react-app-netlify-deploy-from-github-not-deploying/21845 "2020-09-02T03:06:16Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![perry](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/perry/32/16_2.png) [@perry](https://answers.netlify.com/u/perry)\
**Post date:** [September 2, 2020, 5:26pm UTC](https://answers.netlify.com/t/react-app-netlify-deploy-from-github-not-deploying/21845/2 "2020-09-02T17:26:11Z")

</div>

hey there!

A couple of things are going on here we’re gonna want to iron out.

First, it seems like you are doing quite a bit of linting (error checking) on deploy - that’s not what is causing your build error, but it is good practice to only deploy code that has passed linting locally 😃

Secondly, this is possibly related but maybe not:

```auto
9:17:08 PM: Build exceeded maximum allowed runtime
9:17:08 PM: Failed to compile.

```

our standard runtime for builds is 15 minutes.

unless your site is large, it should really build under that limit -

But i wonder if the linting you are doing is slowing us down (which is why i say maybe related) and we are hitting that 15 min ceiling as a result.

If i were you i’d lint locally, remove that process from my production build process, and try and see if that cuts your build time down to under 15 min.

Some other resources:

> [@\[Support Guide\] How long should Netlify builds take?](https://answers.netlify.com/t/support-guide-how-long-should-netlify-builds-take/151):
>
> Last checked in April 2022 The only universal answer to this is: it varies. slight_smile More detail would probably be helpful, right? Below we explain which factors affect the lengths of builds on Netlify One key factor is the site itself. Larger sites will take longer to build than smaller ones, and things like images and video can impact this (if those assets need to be downloaded or processed during build). Another factor is the static site generator (SSG) being used (if any). The perfo…

> [@\[Support Guide\] How can I optimize my Netlify build time?](https://answers.netlify.com/t/support-guide-how-can-i-optimize-my-netlify-build-time/3907):
>
> Last reviewed by Netlify Support - August, 2023 If you are interested in learning more about how our bots approach building sites, these three articles are a great place to start: [How our Build Bots build sites](https://www.netlify.com/blog/2016/10/18/how-our-build-bots-build-sites/)[The last major upgrade to our build environment](https://www.netlify.com/blog/2019/03/14/a-more-flexible-build-architecture-with-updated-linux/) and perhaps least-loved but most useful, [how to debug your builds](https://answers.netlify.com/t/support-guide-debugging-netlify-site-builds/142) joySo you might think, it’s great that Netlify builds every commit from my repos…but isn’t that a bit wasteful? The answer is, it depends, but we can at least give you…

---

_[View the full topic](https://answers.netlify.com/t/react-app-netlify-deploy-from-github-not-deploying/21845)._
