How to Host a Website on Github
To host a website on Github, follow these steps:
- Open your desired repository and click on the 'Settings' tab.
- Under 'Code and automation', select 'Pages'.
- Go to the 'Source' section and select the drop-down arrow by clicking 'Deploy from a branch'.
- Select a branch by clicking the drop-down arrow and choose from the options below.
- Click on the 'Docs' by clicking the drop-down arrow.
- Select a folder in the main branch.
- Click 'Save' to apply changes.
- A notification pops up confirming the change.
- You will see a small yellow circle and click on it.
- Click on the 'Details' button.
- After clicking, you will see the backend process.
- Once the steps have been successfully applied, click 'Settings'.
- That's it! Your website is now live and you can click your website by clicking 'Visit site'.
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it