Configuring a publishing source for your GitHub Pages site

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

People with admin or maintainer permissions for a repository can configure a publishing source for a Páginas de GitHub site.

Páginas de GitHub se encuentra disponible en repositorios públicos con GitHub Free y GitHub Free para organizaciones, y en repositorios privados y públicos con GitHub Pro, GitHub Team, GitHub Enterprise Cloud, y Servidor de GitHub Enterprise.

En este artículo

For more information about publishing sources, see "About Páginas de GitHub."

Choosing a publishing source

Before you configure a publishing source, make sure the branch you want to use as your publishing source already exists in your repository.

  1. En GitHub Enterprise, navega al repositorio de tu sitio.

  2. Debajo de tu nombre de repositorio, da clic en Configuración. Botón de configuración del repositorio

  3. Under "Páginas de GitHub", use the None or Branch drop-down menu and select a publishing source. Drop-down menu to select a publishing source

  4. Optionally, use the drop-down menu to select a folder for your publishing source. Drop-down menu to select a folder for publishing source

  5. Click Save. Button to save changes to publishing source settings

Troubleshooting publishing problems with your Páginas de GitHub site

Nota: Si los archivos fuente de tu sitio no se ha publicado automáticamente, asegúrate de que alguien con permisos administrativos y una dirección de correo electrónico verificada haya hecho publicaciones en la fuente de publicación.

If you choose the docs folder on any 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. For more information, see "Troubleshooting Jekyll build errors for Páginas de GitHub sites."

Did this doc help you?Privacy policy

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

O, learn how to contribute.