createSiteFromGitHub
Deploy a GitHub repository as a Netlify site by configuring the repo, branch, build command, and publish directory.
Instructions
Create a new Netlify site from a GitHub repository
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the new site | |
| repo | Yes | GitHub repository in format owner/repo | |
| branch | Yes | Branch to deploy from | |
| publishDir | Yes | Directory containing the built files to publish | |
| buildCommand | Yes | Build command to run |