Skip to content

Workflows.PublishRelease

func (workflowClient) PublishRelease(
ctx context.Context,
workflowSlug string,
artifactID uuid.UUID,
content *workflows.ReleaseContent,
) (*workflows.WorkflowRelease, error)

Publish an immutable release for a workflow.

workflowSlug string required

The workflow slug.

artifactID uuid.UUID required

The ID of the release artifact.

content *workflows.ReleaseContent required

The files, task identifiers, runner object path, and optional command override included in the release.

The published workflow release, including any clusters where the release is deployed.