- Checkout a branch called
gh-pages
and push to github. = Your HTML file should be at the root of your project repo and named exactlyindex.html
.
- Select the settings tab at the top of your repo page on GitHub.
- Scroll down to the GitHub Pages settings.
- From the dropdown under source, select master branch and save.
- Scroll back down to the GitHub Pages setting and you will see a URL for the hosted app.
- Be sure to include the link to the hosted app in your readme.