Hallo, Entdecker! An dieser Seite wird aktiv gearbeitet, oder sie wird noch übersetzt. Die neuesten und genauesten Informationen finden Sie in unserer englischsprachigen Dokumentation.
Artikelversion: Enterprise Server 2.15

Diese Version von GitHub Enterprise wird eingestellt am Diese Version von GitHub Enterprise wurde eingestellt am 2019-10-16. Es wird keine Patch-Freigabe vorgenommen, auch nicht für kritische Sicherheitsprobleme. 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.

Eine Veröffentlichungsquelle für Ihre GitHub Pages-Website konfigurieren

If you use the default publishing source for your GitHub Pages site, your site will publish automatically. You can also choose to publish your project site from a different branch or folder.

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.

People with admin permissions for a repository can configure a publishing source for a GitHub Pages site.

For more information about publishing sources, see "About GitHub Pages."

Inhalt dieses Artikels

Choosing a publishing source

Before you configure a publishing source, make sure the branch or folder you want to use as your publishing source already exists in your repository. For example, before you can publish your project site from the /docs folder on the master branch of your repository, you or a collaborator must create a /docs folder on the master branch of your repository.

  1. On GitHub Enterprise, navigate to your site's repository.

  2. Under your repository name, click Settings.

    Repository settings button

  3. Under "GitHub Pages", use the Source drop-down menu and select a publishing source.

    Drop down menu to select a publishing source

Troubleshooting publishing problems with your GitHub Pages site

Note: If your site's source files are located in the default publishing source—master for user and organization sites or gh-pages for project sites—but your site has not published automatically, make sure someone with admin permissions and a verified email address has pushed to the default publishing source.

If you remove the /docs folder from the master branch after choosing the docs folder as your publishing source, your site won't build and you'll get a page build error message for a missing /docs folder. For more information, see "Troubleshooting Jekyll build errors for GitHub Pages sites."

Menschliche Unterstützung einholen

Sie können das Gesuchte nicht finden?

Kontakt