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