-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yaml
34 lines (34 loc) · 995 Bytes
/
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
# action.yml
name: 'envsubst-gnu-utility'
description: 'Substitutes the values of environment variables in one file or in multiple files following patterns'
inputs:
working-directory:
description: 'Directory where to find the input file(s)'
required: true
default: '.'
input-file:
description: 'Path to the input file'
required: false
output-file:
description: 'Path to the output file'
required: false
input-file-pattern:
description: 'Pattern of input files. Will be used with GNU find -name'
required: false
output-file-suffix:
description: 'Suffix that will be added to filename for output files'
required: false
default: '.subst'
branding:
color: blue
icon: file-text
author: 'Fréjus GBAGUIDI'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.working-directory }}
- ${{ inputs.input-file }}
- ${{ inputs.output-file }}
- ${{ inputs.input-file-pattern }}
- ${{ inputs.output-file-suffix }}