octopus runbook snapshot publish

Publish a runbook snapshot in Octopus Deploy

Usage:
  octopus runbook snapshot publish [flags]

Flags:
  -p, --project string    Name or ID of the project where the runbook is
  -r, --runbook string    Name or ID of the runbook to publish an existing snapshot
      --snapshot string   Name or ID of the snapshot to publish


Global Flags:
  -h, --help                   Show help for a command
      --no-prompt              Disable prompting in interactive mode
  -f, --output-format string   Specify the output format for a command ("json", "table", or "basic") (default "table")
  -s, --space string           Specify the space for operations

Examples

Octopus Samples instance

Many of the examples we use, reference the samples instance of Octopus Deploy. If you’d like to explore the samples instance, you can log in as a guest.

$ octopus runbook snapshot publish --project MyProject --runbook "Rebuild DB Indexes" --snapshot "Snapshot 40C9ENM"

Learn more

Help us continuously improve

Please let us know if you have any feedback about this page.

Send feedback

Page updated on Wednesday, May 7, 2025