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.
Go to the workspace, then select the Sites page.
Click the Front-End Sites tab and then click +Create New Site.
Click Import Repository on the What kind of site are you creating? page to connect your GitHub repository.
Select a Git provider from the Choose your Git provider options and then click Continue.
Select your desired GitHub account from the GitHub Account drop-down menu.
Choose the repository name from the Select Repository drop-down menu and then click Continue.
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.
Select the frontend framework in the General Info section. You can choose either Next.js or Gatsby.
Optional. Click Advanced Settings to set your:
- Output directory
- Build command
- Environment variables
- Deployment path
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.
Click Build Details to view the build log.