You can use either Surge or Netlify. My preference is Netlify because whenever you update the source in Github, it automatically updates the internet site.
First, you need to create an account at Netlify and link your account to Github. At the dashboard, click on the "New site from git" button.
At the "Create a new site" page, click on GitHub. Select the repos you wish to publish.
Fill the setting. For react app, the setting will automatically be filled. Click on "Deployed site" once done.
Netlify will pull the source from Github and publish the site. An url will be generated as well.
My react todo application: https://laughing-snyder-9e6b8c.netlify.com/
References:
No comments:
Post a Comment