Is a bad idea to use Github Pages for a production ready app?

I'm trying to not spend money on hosting for a react app and I found this package:

  • gh-pages: Publish files to a gh-pages branch on GitHub (or any other branch anywhere else)

By adding this script you can build and push the code directly to gh-pages and publish your app in seconds:

"scripts": {
  "deploy": "gh-pages -d build"

Do you think is a bad idea to use Github pages as production?

Did you find this post useful? Show some love!

GitHub Pages are subject to some specific bandwidth and usage limits, and may not be appropriate for some high-bandwidth uses.
GitHub reserves the right at all times to reclaim any GitHub subdomain without liability.
— Github Pages ToS

If you are fine with this, it’s ok to host there.

It also depends on where in "production" phase you are with your app. Is this something that is close to an MVP or some kind of start up product that you are testing and have lett than few hundreds of users / customers, I would say it is ok. But if this is some kind of enterprise product you are building I would suggest to think twice.

Others have already said this but by relying on a free service you are at the mercy of the service operators. If you want actual production worthiness then you have to pay for hosting so that the rug won't be pulled from under you.


Hey there, we see you aren't signed in. (Yes you, the reader. This is a fake comment.)

Please consider creating an account on It literally takes a few seconds and we'd appreciate the support so much. ❤️

Plus, no fake comments when you're signed in. 🙃

I think that just to test is fine but for production do not.

Classic DEV Post from May 18

Why do employers check job candidates' GitHub profiles?

It seems to me like a pretty weak way to get an apples-to-apples impression of ...

Follow @ben to see more of their posts in your feed.
Dídac Sabatés
I like Linux, making, coding and do this things with coffee also film photography as hobbie. Full stack developer.
Trending on
What's your approach to fixing a "long-term" hairy bug?
Follow Friday!
When is code "too clever" / how do you think about readability/cognitive load?
What are the first differences you noticed in GitHub after Microsoft bought it? Post here yours!
#github #microsoft #discuss
Does anyone else feel bothered when people term us as coders instead of developers or programmers..?
Ever feel like you have "Programming Synesthesia"?
#discuss #programming #productivity
How do you get a decent estimate on the time it will take to complete a task?
#discuss #work
What are your programming blogs?