You can easily deploy your static website for free on GitHub. Create a new repository on GitHub or go to the existing one. Make sure that the repository in its root has either index.md file or index.html file. Most of the time you would use index.html.
After you are sure that there is an index.html file you need to do the following steps:
- Go to your repository settings which are under the repository name.
2. On the sidebar click on Pages.
3. Under Source select a branch you wish to use for deployment. Usually, it is the main branch. After you selected a branch, click Save.
4. Wait for a couple of minutes and your page will be deployed. You will see a link on which your page will be deployed. That is all you need to do to deploy your page for free.