Netlify
is a San Francisco-based cloud computing company that offers hosting and serverless backend or frontend services for web applications and static websites.
-
First create repository & push frontend project
-
Go to Netlify → Login → Click
New site from Git
-
Connect to Git provider, click
Github
-
Pick a repository
-
Site settings, and deploy
-
Scroll down, modify Build command to
CI= npm run build
. ClickShow advanced
-
Click
New variable
for addenvironment variables
. Like:REACT_APP_SERVER_URL
-
Click
Deploy site
-
Wait deploy progress
-
Click the link for open web