When you unpublish your site, the site will no longer be available. Any existing repository settings or content will not be affected.
- On GitHub.com, navigate to the main page of the repository.
- Under GitHub Pages, next to the Your site is live at message, click .
- In the menu that appears, select Unpublish site.