-
Notifications
You must be signed in to change notification settings - Fork 10
/
action.yml
42 lines (39 loc) · 1.9 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: 'Run Runbook in Octopus Deploy'
description: 'GitHub Action to run a runbook in Octopus Deploy'
author: 'Octopus Deploy'
branding:
color: 'blue'
icon: 'book'
inputs:
project:
description: 'The name of the project associated with this runbook.'
required: true
runbook:
description: 'The name of the runbook.'
required: true
environments:
description: 'A multi-line list of environments to deploy to.'
required: true
tenants:
description: 'A multi-line list of tenant names to deploy to.'
tenant_tags:
description: 'A multi-line list of tenant tags (canonical names) to use to locate tenants to deploy to.'
use_guided_failure:
default: false
description: 'Whether to use guided failure mode if errors occur during the deployment.'
variables:
description: 'A multi-line list of prompted variable values. Format: name:value'
server:
description: 'The instance URL hosting Octopus Deploy (i.e. "https://octopus.example.com/"). The instance URL is required, but you may also use the OCTOPUS_URL environment variable.'
api_key:
description: 'The API key used to access Octopus Deploy. An API key is required, but you may also use the OCTOPUS_API_KEY environment variable. It is strongly recommended that this value retrieved from a GitHub secret.'
space:
description: 'The name of a space within which this command will be executed. The space name is required, but you may also use the OCTOPUS_SPACE environment variable.'
git_ref:
description: 'The Git Reference on which to run the Runbook. If not populate the action assumes you are running a DB Runbook. In most cases when running a Git Runbook this will be your default branch refs/heads/main'
outputs:
server_tasks:
description: 'JSON string for an array of objects having a `serverTaskId` and an `environmentName`, and optionally a `tenantName`'
runs:
using: 'node20'
main: 'dist/index.js'