NetlifyAliases.

NetlifyDeploy(ICakeContext, DirectoryPath, NetlfiyDeploySettings) Method

Summary

Deploys directory to Netlify using the specified directory and settings.
Assembly
Cake.Netlify.dll
Namespace
Cake.Netlify
Containing Type
NetlifyAliases

Syntax

public static void NetlifyDeploy(this ICakeContext context, DirectoryPath directoryToDeploy, NetlfiyDeploySettings settings)

Examples

NetlifyDeploy(Directory("dist"), new NetlfiyDeploySettings { SiteId = "my-site-id", Token = "my-api-token" }); 

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Parameters

Name Type Description
context ICakeContext The context.
directoryToDeploy DirectoryPath The directory to deploy.
settings NetlfiyDeploySettings The settings.

Return Value

Type Description
void