DEV Community


Discussion on: Where should I host my static website?

dannysteenman profile image
Danny Steenman Author

GH Pages sounds like a doable option! I'm wondering; do you deploy the "public" build folder in a separate repo or keep it in the same repo?

Thread Thread
lietux profile image
Janne "Lietu" Enberg

Sometimes separate, mostly the same and just use gh-pages branch, depends a bit on what I want from the end result - if you don't use custom domains GitHub Pages hosting can lead to very funky URLs sometimes unless you deploy to specially named repos.