func (workflowClient) DeployRelease(
ctx context.Context,
workflowSlug string,
releaseID uuid.UUID,
clusterSlugs []string,
) (*workflows.WorkflowReleaseDeployment, error)
Deploy a workflow release to one or more clusters.
Parameters
The ID of the workflow release to deploy.
The clusters to deploy the release to.
Returns
The deployment result, including the release and affected clusters.
deployment, err := client.Workflows.DeployRelease(ctx,
workflow.Slug,
release.ID,
[]string{"production"},
)