Getting started with Pages
Who can use this feature?
Pages is available in public repositories with Free and Free for organizations, and in public and private repositories with Pro, Team, Enterprise Cloud, and Enterprise Server. For more information, see ’s plans.
Pages now uses Actions to execute the Jekyll build. When using a branch as the source of your build, Actions must be enabled in your repository if you want to use the built-in Jekyll workflow. Alternatively, if Actions is unavailable or disabled, adding a .nojekyll
file to the root of your source branch will bypass the Jekyll build process and deploy the content directly. For more information on enabling Actions, see Managing Actions settings for a repository.
What is Pages?
You can use Pages to host a website about yourself, your organization, or your project directly from a repository on .
Creating a Pages site
You can create a Pages site in a new or existing repository.
Pages limits
Learn about the limits and limitations of Pages.
Using custom workflows with Pages
You can take advantage of using Actions and Pages by creating a workflow file or choosing from the predefined workflows.
Configuring a publishing source for your Pages site
You can configure your Pages site to publish when changes are pushed to a specific branch, or you can write a Actions workflow to publish your site.
Deleting a Pages site
You can delete a Pages site.
Unpublishing a Pages site
You can unpublish your Pages site so that your current deployment is removed and the site is no longer available. This is different from deleting the site.
Creating a custom 404 page for your Pages site
You can display a custom 404 error page when people try to access nonexistent pages on your site.
Securing your Pages site with HTTPS
HTTPS adds a layer of encryption that prevents others from snooping on or tampering with traffic to your site. You can enforce HTTPS for your Pages site to transparently redirect all HTTP requests to HTTPS.
Using submodules with Pages
You can use submodules with Pages to include other projects in your site's code.
Troubleshooting 404 errors for Pages sites
This guide will help you troubleshoot common reasons you may be seeing a 404 error.