NetlifyAliases.

NetlifyDeploy(ICakeContext, DirectoryPath, string, string) Method

Summary

Deploys directory to Netlify using the specified directory, site id, and token.
Assembly
Cake.Netlify.dll
Namespace
Cake.Netlify
Containing Type
NetlifyAliases

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

Type Description
void