Two repositories
GitHub Docs runs from two repositories:
External contributors work exclusively in
github/docs. The deployer service, maintained by the @github/docs-engineering team, handles deployment for both repositories.
Merge queue
Themain branch in github/docs uses a merge queue.
When a pull request is approved and ready to merge, it enters the queue rather than merging directly. The merge queue runs required checks on the combined state of the queue (your changes together with any other queued pull requests) before merging to main. This prevents individual pull requests from breaking the build for others.
You do not need to do anything to add your pull request to the merge queue. A maintainer will add it after approval.
Production deployments
Once a pull request merges tomain, the deployer service automatically picks up the change and publishes it to docs.github.com.
1
Pull request merges to main
The merge queue completes all checks and merges the pull request into the
main branch.2
Deployment is triggered
The deployer service detects the new commit on
main and starts a production deployment automatically.3
Changes go live
The updated content is published to docs.github.com. This can take up to 24 hours from the time of merge.
4
Status is displayed on the pull request
The deployment status is shown on the pull request’s page on github.com once the deployment completes.
Staging environments (review deployments)
Review deployments provide a live preview of a pull request’s changes before it merges tomain. These staging environments let reviewers see how content changes look on the actual site without affecting production.
Review deployment configuration is managed by the
@github/docs-engineering team. Details about available staging environments for a specific pull request will appear in the pull request’s deployment section on GitHub.