Table of Contents

Class GitHubBuildContext

Namespace
Cake.Frosting.PleOps.Recipe.GitHub
Assembly
Cake.Frosting.PleOps.Recipe.dll

Build context for GitHub interactions.

public class GitHubBuildContext
Inheritance
GitHubBuildContext
Inherited Members

Constructors

GitHubBuildContext()

Initializes a new instance of the GitHubBuildContext class.

public GitHubBuildContext()

Properties

GitHubToken

Gets or sets the token for GitHub.

public string GitHubToken { get; set; }

Property Value

string

RepositoryName

Gets or sets the name of the repository.

public string RepositoryName { get; set; }

Property Value

string

Remarks

This information is filled via 'GITHUB_REPOSITORY' environment variable set by GitHub action.

RepositoryOwner

Gets or sets the owner of the repository.

public string RepositoryOwner { get; set; }

Property Value

string

Remarks

This information is filled via 'GITHUB_REPOSITORY' environment variable set by GitHub action.

Methods

ReadArguments(PleOpsBuildContext)

Initializes from environment variables.

public void ReadArguments(PleOpsBuildContext context)

Parameters

context PleOpsBuildContext

Cake context extensions.