Skip to main content

Import Repository

Learn how to import your repository to create a Front-End Site.


You can import your Git-provided repository to create your Front-End Site.

  1. Go to the workspace, then select the Sites page.

  2. Click the Front-End Sites tab and then click +Create New Site.

  3. Click Import Repository on the What kind of site are you creating? page to connect your GitHub repository.

  4. Select a Git provider from the Choose your Git provider options and then click Continue.

  5. Select your desired GitHub account from the GitHub Account drop-down menu.

  6. Choose the repository name from the Select Repository drop-down menu and then click Continue.

  7. Enter the Site Name in the General Info section. The site name is the title of your site. You can edit the site name in Settings after creation. Note: You cannot use a . (period) or _ (underscore) for site and Multidev names.

  8. Select the frontend framework in the General Info section. You can choose either Next.js or Gatsby.

  9. Optional. Click Advanced Settings to set your:

    • Output directory
    • Build command
    • Environment variables
    • Deployment path
  10. Click Continue.

    • You are directed to a new page with the site name, deployment, and build information and status. You will receive a message that your Front-End Site has been successfully added to Pantheon.
  11. Click Build Details to view the build log.