cdto the directory for your React app that you want to host. (Let's assume it's called cyf-hotel)
builddirectory within your current directory. This contains a prepared version of your app, ready to be hosted. (There are many ways to host it.)
Create & Configure a new site
CYFif it is an option. Choose your own user name as a team.
deploycommand, by adding
--dir ./build. This way, it won't ask you to type it in.
netlify deploy --prod --dir ./build
"deploy": "npm run build && netlify deploy --prod --dir ./build"to the
scriptsobject. Then you can just run
npm run deployand the build and deploy step will both be done for you. Be careful when you edit that file, and copy and paste exactly from here!