1. Tasks
  2. Publish Template

Tasks

Publish Template

Publishes a template by copying changes from one branch to another, typically from draft to live.

See branches for more information on publishing templates.

Basic usage

The below task publishes changes from the draft branch to the live branch.

loading...

Parameters

note
required
string

A descriptive note about the changes being published.

from_templateuuid
required
string

UUID of the source template to publish from.

to_templateuuid
required
string

UUID of the destination template to publish to. Typically the same as from_templateuuid when publishing between branches of the same template.

from_branch
required
string

The source branch to publish from (e.g., "draft").

to_branch
required
string

The destination branch to publish to (e.g., "live").

context
required
string

The template context to publish.

Result

The result contains the details of the publish operation.

loading...