NetlifyAliases Class

Summary

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.

Assembly
Cake.Netlify.dll
Namespace
Cake.Netlify
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["NetlifyAliases"] class Type type-node

Syntax

public static class NetlifyAliases

Attributes

Type Description
CakeAliasCategoryAttribute

Methods

Name Value Summary
NetlifyDeploy(ICakeContext, DirectoryPath, NetlfiyDeploySettings) void
Deploys directory to Netlify using the specified directory and settings.
static
NetlifyDeploy(ICakeContext, DirectoryPath, string, string) void
Deploys directory to Netlify using the specified directory, site id, and token.
static
NetlifyDeploy(ICakeContext, string, string) void
Deploys the directory to Netlify using the current working directory, site id, and token.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin