Article version: Enterprise Server 2.13

This version of GitHub Enterprise will be discontinued on This version of GitHub Enterprise was discontinued on 2019-03-27. 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.

Page build failed: Missing docs folder

If you have the master branch /docs folder source setting enabled and your /docs folder with your site's source files was removed from the root of your repository on the master branch, your GitHub Pages site will not build.

If your GitHub Pages site fails to build because your /docs folder on the master branch was moved or deleted, you'll see a message in GitHub Pages settings that looks like this:

missing-docs-folder-page-build-failure-message

Check GitHub Pages build error messages

  1. On GitHub Enterprise, navigate to the main page of the repository.

  2. Under your repository name, click Settings.

    Repository settings button

  3. Read any applicable build error message under "GitHub Pages."

Resolving the build error

If your /docs folder was accidently moved, you can try moving the /docs folder back to the root of your repository on the master branch.

If your /docs folder was deleted, you must either:

Ask a human

Can't find what you're looking for?

Contact us