OctoDeployAlias.

UploadArtifact(ICakeContext, string, FilePath, string, string, OctoDeploySettings) Method

Summary

Upload an artifact to an existing release
Assembly
Cake.OctoDeploy.dll
Namespace
Cake.OctoDeploy
Containing Type
OctoDeployAlias

Syntax

public static void UploadArtifact(this ICakeContext context, string tagName, FilePath artifactPath, string artifactName, string artifactMimeType, OctoDeploySettings octoDeploySettings)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext Cake context
tagName string Git tag of the Release to which the asset should be attached
artifactPath FilePath Path to the artifact to upload
artifactName string Name of the artifact to use on the release
artifactMimeType string The MIME type of the artifact that is being uploaded
octoDeploySettings OctoDeploySettings OctoDeploy Settings

Return Value

Type Description
void