You can host your site on GitHub's
github.io domain or your own custom domain. For more information, see "Using a custom domain with Páginas de GitHub."
A menos de que tu empresa utilice Usuarios Administrados de Enterprise, puedes elegir publicar los sitios de proyecto de forma pública o privada al administrar su control de accesos. For more information, see "Changing the visibility of your Páginas de GitHub site."
To get started, see "Creating a Páginas de GitHub site."
Organization owners can disable the publication of Páginas de GitHub sites from the organization's repositories. For more information, see "Managing the publication of Páginas de GitHub sites for your organization."
To publish a user site, you must create a repository owned by your personal account that's named
<username>.github.io. To publish an organization site, you must create a repository owned by an organization that's named
<organization>.github.io. Unless you're using a custom domain, user and organization sites are available at
The source files for a project site are stored in the same repository as their project. Unless you're using a custom domain, project sites are available at
If you publish your site privately, the URL for your site will be different. For more information, see "Changing the visibility of your Páginas de GitHub site."
For more information about how custom domains affect the URL for your site, see "About custom domains and Páginas de GitHub."
You can only create one user or organization site for each account on GitHub Enterprise Cloud. Project sites, whether owned by an organization or a personal account, are unlimited.
The publishing source for your Páginas de GitHub site is the branch and folder where the source files for your site are stored.
Advertencia: A menos de que tu empresa utilice Usuarios Administrados de Enterprise, los sitios de Páginas de GitHub estarán disponibles públicamente en la internet predefinidamente, incluso si el repositorio del sitio es privado o interno. Puedes publicar el sitio de forma privada si administras el control de accesos de este. De lo contrario, si tienes datos sensibles en el repositorio de tu sitio, deberías eliminar los datos antes de publicarlo. Para obtener más información, consulta las secciones "Acercad de los repositorios" y "Cambiar la visbilidad de tu sitio de Páginas de GitHub".
If the default publishing source exists in your repository, Páginas de GitHub will automatically publish a site from that source. The default publishing source for user and organization sites is the root of the default branch for the repository. The default publishing source for project sites is the root of the
If you want to keep the source files for your site in a different location, you can change the publishing source for your site. You can publish your site from any branch in the repository, either from the root of the repository on that branch,
/, or from the
/docs folder on that branch. For more information, see "Configuring a publishing source for your Páginas de GitHub site."
If you choose the
/docs folder of any branch as your publishing source, Páginas de GitHub will read everything to publish your site, including the CNAME file, from the
/docs folder. For example, when you edit your custom domain through the Páginas de GitHub settings, the custom domain will write to
/docs/CNAME. For more information about CNAME files, see "Managing a custom domain for your Páginas de GitHub site."
If you're a cuenta de usuario administrado, your use of Páginas de GitHub is limited.
- Páginas de GitHub sites can only be published from repositories owned by organizations.
- Páginas de GitHub sites are only visible to other members of the enterprise.
For more information about Usuarios Administrados de Enterprise, see "About Usuarios Administrados de Enterprise."
Páginas de GitHub publishes any static files that you push to your repository. You can create your own static files or use a static site generator to build your site for you. You can also customize your own build process locally or on another server. We recommend Jekyll, a static site generator with built-in support for Páginas de GitHub and a simplified build process. For more information, see "About Páginas de GitHub and Jekyll."
Páginas de GitHub will use Jekyll to build your site by default. If you want to use a static site generator other than Jekyll, disable the Jekyll build process by creating an empty file called
.nojekyll in the root of your publishing source, then follow your static site generator's instructions to build your site locally.
Páginas de GitHub does not support server-side languages such as PHP, Ruby, or Python.
Páginas de GitHub sites created after June 15, 2016, and using
github.io domains are served over HTTPS. If you created your site before June 15, 2016, you can enable HTTPS support for traffic to your site. For more information, see "Securing your Páginas de GitHub with HTTPS."
Páginas de GitHub is not intended for or allowed to be used as a free web-hosting service to run your online business, e-commerce site, or any other website that is primarily directed at either facilitating commercial transactions or providing commercial software as a service (SaaS). Los sitios Páginas de GitHub no se deben usar para realizar transacciones que impliquen el envío de información confidencial como contraseñas o números de tarjeta de crédito.
In addition, your use of Páginas de GitHub is subject to the GitHub Terms of Service, including the restrictions on get-rich-quick schemes, sexually obscene content, and violent or threatening content or activity.
Páginas de GitHub sites are subject to the following usage limits:
Páginas de GitHub source repositories have a recommended limit of 1 GB. For more information, see "What is my disk quota?"
Published Páginas de GitHub sites may be no larger than 1 GB.
Páginas de GitHub sites have a soft bandwidth limit of 100 GB per month.
Páginas de GitHub sites have a soft limit of 10 builds per hour.
If your site exceeds these usage quotas, we may not be able to serve your site, or you may receive a polite email from Soporte de GitHub suggesting strategies for reducing your site's impact on our servers, including putting a third-party content distribution network (CDN) in front of your site, making use of other GitHub features such as releases, or moving to a different hosting service that might better fit your needs.
A MIME type is a header that a server sends to a browser, providing information about the nature and format of the files the browser requested. Páginas de GitHub supports more than 750 MIME types across thousands of file extensions. The list of supported MIME types is generated from the mime-db project.
While you can't specify custom MIME types on a per-file or per-repository basis, you can add or modify MIME types for use on Páginas de GitHub. For more information, see the mime-db contributing guidelines.