Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 583 Bytes

File metadata and controls

24 lines (18 loc) · 583 Bytes
layout pubDate modDate title description
src/layouts/Default.astro
2023-01-01
2023-01-01
Add a target role
An example script that adds a target role to a deployment target.

import AddTargetRoleScripts from 'src/shared-content/scripts/add-target-role-scripts.include.md';

This script demonstrates how to programmatically add a target role to a deployment target.

Usage

Provide values for the following:

  • Octopus URL
  • Octopus API Key
  • Name of the space to use
  • Name of the machine to update
  • Name of the target role to add

Script