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.
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