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 project site from a different branch or folder.
Páginas de GitHub se encuentra disponible en repositorios públicos con GitHub gratis y en repositorios privados y públicos con GitHub Pro, Equipo de GitHub, Nube de GitHub Enterprise y Servidor de GitHub Enterprise.
People with admin permissions for a repository can configure a publishing source for a Páginas de GitHub site.
For more information about publishing sources, see "About Páginas de GitHub."
En este artículo
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.
-
On GitHub Enterprise, navigate to your site's repository.
-
En el nombre de tu repositorio, haz clic en Parámetros.
-
Under "Páginas de GitHub", use the Source drop-down menu and select a publishing source.
Troubleshooting publishing problems with your Páginas de GitHub 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 Páginas de GitHub sites."