This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Netlify.
Summary
Deploys directory to Netlify using the specified directory, site id, and token.
Syntax
public static void NetlifyDeploy(this ICakeContext context, DirectoryPath directoryToDeploy, string siteId, string token)
Examples
NetlifyDeploy(Directory("dist"), "my-site-id", "my-api-token");
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
CakeAliasCategoryAttribute |
|
CakeNamespaceImportAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The context. |
directoryToDeploy |
DirectoryPath |
The directory to deploy. |
siteId |
string |
The site id. |
token |
string |
The api token. |
Return Value