GitHub is a platform for storing, tracking, and managing project source code. It is also where you can publish your HTML website – and like Netlify, it is free to host here.
Here's the step-by-step process of publishing your website on GitHub:
Step 1: Go to your website's repository
After you've logged in, go to the repository on the left sidebar and select the one you want to publish.
Step 2: Select the settings
In your repository, click the Settings link, and it will take you to the repository's settings page.
Step 3: Go to GitHub Pages
When you're in a repository's settings, scroll down a bit until you see the Pages link on the left sidebar. Click it, and it will lead you to GitHub Pages.
Step 4: Select the branch
In the source section, click the dropdown and select the master branch and save it. Depending on how you name it, it can be master or main.
Step 5: All done
And you are done! Your website will be published, and it will take only a minute or so to complete the process. Refresh the page, and you will see a link to your newly published website.
0 Comments