Deploys a specified folder to Netlify.
- Namespace
- Statiq
.Web .Netlify - Containing Type
- DeployNetlifySite
Syntax
public DeployNetlifySite(Config<string> siteId, Config<string> accessToken, Config<NormalizedPath> directory)
Parameters
| Name | Type | Description |
|---|---|---|
| siteId | Config |
The ID of the site to deploy. |
| accessToken | Config |
The access token to authenticate with. |
| directory | Config |
The directory containing the files to deploy (from the root folder, not the input folder). |