Skip to content

How to deploy a website on GitHub Pages

Introduction

In this guide you will learn how to deploy a website on GitHub Pages.

Prerequisites

  • You have a GitHub account.
  • You have a repository on GitHub with a website you want to deploy.

Steps

  1. Go to your repository on GitHub.
  2. Click on the Settings tab.
  3. Scroll down to the Pages section.
  4. Select the Branch you want to deploy. Usually this is the main branch.
  5. Select the Folder you want to deploy. Usually this is the root folder.
  6. Click on the Save button.
  7. Wait for the deployment to finish.
  8. Click on the link to your website.

Remarks

If this documentation is not up to date, you can see the official documentation here.