Hallo, Entdecker! An dieser Seite wird aktiv gearbeitet, oder sie wird noch übersetzt. Die neuesten und genauesten Informationen findest Du in unserer englischsprachigen Dokumentation.

Diese Version von GitHub Enterprise wurde eingestellt am 2021-03-02. Es wird keine Patch-Freigabe vorgenommen, auch nicht für kritische Sicherheitsprobleme. Für eine bessere Leistung, verbesserte Sicherheit und neue Features nimm ein Upgrade auf die neueste Version von GitHub Enterprise vor. Wende Dich an den GitHub Enterprise-Support, um Hilfe beim Upgrade zu erhalten.

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

Wenn Sie die Standard-Veröffentlichungsquelle für Ihre GitHub Pages-Website verwenden, wird Ihre Website automatisch veröffentlicht. You can also choose to publish your project site from a different branch or folder.

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

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

Inhalt dieses Artikels

Weitere Informationen zu Veröffentlichungsquellen findest Du unter „Informationen zu GitHub Pages.“

Eine Veröffentlichungsquelle auswählen

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 default master branch of your repository.

  1. Navigiere in GitHub Enterprise Server zum Repository Deiner Website.

  2. Klicke unter Deinem Repository-Namen auf Settings (Einstellungen).

    Schaltfläche „Repository settings" (Repository-Einstellungen)

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

    Dropdownmenü zum Auswählen einer Veröffentlichungsquelle

Fehler bei der Veröffentlichung Deiner GitHub Pages-Website beheben

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 publishing source.

If you choose the docs folder on the master branch as your publishing source, then later remove the /docs folder from that branch in your repository, your site won't build and you'll get a page build error message for a missing /docs folder. Weitere Informationen findest Du unter „Jekyll-Build-Fehler für GitHub Pages-Websites beheben.“