Article version: Enterprise Server 2.14

This version of GitHub Enterprise will be discontinued on This version of GitHub Enterprise was discontinued on 2019-07-12. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.

Unpublishing a Project Pages site

GitHub Pages is available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server.

You can unpublish your GitHub Enterprise Project Pages site if the content is no longer relevant or you no longer want it to be publicly available.

To unpublish your Project Pages site, delete the gh-pages or master branch in the project repository where your Project Pages site is published from. For more information, see "Configuring a publishing source for GitHub Pages" and "Creating and deleting branches within your repository."

Further reading

Ask a human

Can't find what you're looking for?

Contact us