-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yaml
55 lines (55 loc) · 1.78 KB
/
action.yaml
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
43
44
45
46
47
48
49
50
51
52
53
54
55
name: 'Deployment overview'
description: 'Create an overview MD file in the root of the repository'
author: [email protected]
inputs:
organization:
description: 'The organization to monitor'
required: true
repositories:
description: 'The list of repositories to monitor'
required: true
environments:
description: 'The list of environments to monitor'
required: true
default: 'dev,staging,prod'
environment-links:
description: 'The list of links to the environments'
required: true
default: 'https://dev.example.com,https://staging.example.com,https://prod.example.com'
verbose:
description: 'The verbosity level'
required: true
default: 1
github-token:
description: 'The token to use for the GitHub API'
required: true
title:
description: 'The title of the overview'
required: true
default: 'Deployment overview'
target-json-file:
description: 'The file to write the JSON to'
required: false
default: 'deployment-overview.json'
target-md-file:
description: 'The file to write the MD to'
required: false
default: 'deployment-overview.md'
template-file:
description: 'The template file to use'
required: false
default: '/template/default.tpl'
runs:
using: 'docker'
image: 'docker://ghcr.io/prodyna/deployment-overview:v0.7'
env:
ORGANIZATION: ${{ inputs.organization }}
REPOSITORIES: ${{ inputs.repositories }}
ENVIRONMENTS: ${{ inputs.environments }}
ENVIRONMENT_LINKS: ${{ inputs.environment-links }}
VERBOSE: ${{ inputs.verbose }}
GITHUB_TOKEN: ${{ inputs.github-token }}
TITLE: ${{ inputs.title }}
TEMPLATE_FILE: ${{ inputs.template-file }}
TARGET_JSON_FILE: ${{ inputs.target-json-file }}
TARGET_MD_FILE: ${{ inputs.target-md-file }}