Steps
- Login/Signup to your netlify account from your browser
- Go to your project directory
npm run build
- push the code to github
- Install netlify-cli
npm install netlify-cli -g
- Run
netlify deploy
- Select
Create and configure a new site
- Enter a site name as your choice otherwise it will create a random site name.
- Enter your build folder name
./build
- Finally run
netlify deploy --prod
- Once it will again ask for build folder name. Then enter
./build
Top comments (0)