Skip to content

Commit

Permalink
Merge pull request #3 from alathon/master
Browse files Browse the repository at this point in the history
Templating from file + Exit code
  • Loading branch information
cuchi authored Apr 14, 2020
2 parents 0b5c5a9 + 4ad2d2d commit 70b631c
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -9,7 +9,9 @@ inputs:
required: false
default: false
variables:
required: true
required: false
data_file:
required: false
runs:
using: 'docker'
image: 'Dockerfile'
4 changes: 3 additions & 1 deletion entrypoint.py
Original file line number Diff line number Diff line change
@@ -16,4 +16,6 @@

params.extend(['-o', os.environ['INPUT_OUTPUT_FILE']])

subprocess.run(['jinja2'] + params)
params.extend([os.environ.get('INPUT_DATA_FILE','')])

subprocess.run(['jinja2'] + params, check = True)

0 comments on commit 70b631c

Please sign in to comment.