Let’s deploy a
create-react-app generated site on Netlify.
After signing in to Netlify, click on New Site from Git on the top right.
Click on GitHub button to choose a repository to deploy. It will prompt you for GitHub access.
You can give Netlify only a public repo access by clicking on the checkbox below “GitHub” button.
Filter by repo name and “pick a repository” by clicking on a repo returned.
Set the basic settings for
- Build command –
npm run build
- Publish directory –
After clicking on the “Deploy site” button, you will be forwarded to an “Overview” page with “Site deploy in progress” message.
After a few moments (<- this is relative term….), you will see a randomly generated URL.
OK, you just deployed a site on Netlify 🎉🎉🎉
** UPDATE: April 21, 2019 **
Check’em out on the dev.to post thread.
- Eugene Karataev: https://dev.to/karataev/comment/a906
- Noah Pederson: https://dev.to/chiefnoah/comment/a904
You git cloned a repository from GitHub without forking it.
The problem is that you made a bunch of changes and want to publish it to a new GitHub repository.
What are the steps required to accomplish it?
Remove original remote and add your own