perfect and working blog on that
visit this link
https://ridbay.medium.com/simple-steps-on-how-to-deploy-or-host-your-reactjs-app-in-cpanel-31cfbcad444e
The build folder is ready to be deployed.
You may serve it with a static server:
npm run build
npm install -g serve
serve -s build