Skip to content

Prebuilding codespaces is now supported for multi-repository and monorepo projects

In April 2022, we released improvements to help streamline your Codespaces experience when working with multi-repository and monorepo projects. Today we're announcing support for prebuilding these project types as well to enable you take advantage of fast creation times across any project configuration.

Prebuilding codespaces for multi-repository projects

For multi-repository projects, or projects that need additional dev time resources (ex. packages), repository administrators can now specify required permissions in the dev container configuration for a prebuild-enabled branch. The prebuild configuration UI will then guide the administrator to authorize those permissions during the creation of the prebuild. This means that users no longer have to set up and manage repository level personal access tokens for prebuild-enabled multi-repository projects.
Authorize permissions for prebuilds!

Prebuilding codespaces for monorepo projects

For monorepo projects, repository administrators can choose a specific dev container configuration from within their repository to be prebuilt while configuring the prebuild. This enables sub-teams working on specific parts of a monorepo to have a prebuild that is optimized for their scenario and requirements.
Select a specific dev container to prebuild

Get started

Here are some helpful links to get you started:

If you have any feedback to help improve this experience, be sure to post it on our discussions forum.

GitHub Sponsors is now available in 30 new regions! Waitlists are gone and you can now sign up for Sponsors if you have a bank account in Argentina, Bolivia, Chile, Colombia, Costa Rica, Croatia, Dominican Republic, Egypt, The Gambia, Gibraltar, Hungary, Iceland, Indonesia, Israel, Kenya, Liechtenstein, Morocco, Paraguay, Peru, The Philippines, Saudi Arabia, Serbia, South Africa, South Korea, Thailand, Trinidad and Tobago, Tunisia, Turkey, The United Arab Emirates, and Uruguay.

As always, you can sponsor projects from wherever GitHub does business and join the Sponsors waitlist if we're not yet in your region.

See more

You can now deploy to a GitHub Pages site directly from a repository using GitHub Actions, without needing to set up a publishing source. Using Actions to orchestrate Pages publishing provides many more options for choosing your authoring framework (Next.js, Hugo, Gatsby, Jekyll, NuxtJS or other technologies, and the associated versions thereof) as well as giving you finer control over the publishing process, such as leveraging deployment gates.

We have written several starter workflows for the most common frameworks but also have a “Static“ option if you want to deploy the contents of your repository with no build step.



See more