Hacker News new | past | comments | ask | show | jobs | submit login
How to deploy a create-react-app to Netlify with continuous deployment
1 point by tempAsk on April 28, 2020 | hide | past | favorite
[This question was marked as opinion based and closed on stackoverflow.]

I currently have a frontend application built with create-react-app starter, and I'm looking to deploy unto Netlify. I understand how deploying to Netlify works, but how does one setup/what is the setup of a git structure that makes continuous deployment easy.

I'm thinking to create a new branch for every additional feature pushed to production on Netlify; this new branch will contain the latest production build. However how is this sustainable, especially when using a custom domain; or maybe is this method wrong all together.

Bottom line: best git + Netlify workflow for continuous deployment of React apps, with usage of custom domains




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: