Cake.Netlify

Cake addin for Netlify

#addin nuget:?package=Cake.Netlify&version=0.12.0

dotnet add package Cake.Netlify --version 0.12.0

<PackageReference Include="Cake.Netlify" Version="0.12.0" />

Aliases

Contains functionality related to manage netlify sites using https://www.netlify.com/docs/cli/"

In order to use the commands for this alias, the netlify-cli will need to be installed on the machine where the Cake script is being executed. This is typically achieved by installing the npm module.

Deploy

NetlifyDeploy(DirectoryPath, NetlfiyDeploySettings) Deploys directory to Netlify using the specified directory and settings.
NetlifyDeploy(DirectoryPath, string, string) Deploys directory to Netlify using the specified directory, site id, and token.
NetlifyDeploy(string, string) Deploys the directory to Netlify using the current working directory, site id, and token.