From 350f31af1ea2e62cbf46068acc1bbe3daf8c06d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Darko=20Kri=C5=BEi=C4=87?= Date: Sat, 2 Mar 2024 21:40:17 +0100 Subject: [PATCH] Fix reference to template --- README.md | 5 +++-- action.yaml | 12 ++++++++---- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 7d23dcc..c7a95b8 100644 --- a/README.md +++ b/README.md @@ -83,8 +83,9 @@ jobs: verbose: 1 github-token: ${{ secrets.OVERVIEW_GITHUB_TOKEN }} title: "YASM Deployment Overview" - targetJsonFile: profile/deployment-overview.json - targetMdFile: profile/README.md + target-json-File: profile/deployment-overview.json + target-md-ile: profile/README.md + template-file: template/default.md # Push the generated files - name: Commit changes diff --git a/action.yaml b/action.yaml index ed8bfbb..aa62bcb 100644 --- a/action.yaml +++ b/action.yaml @@ -27,14 +27,18 @@ inputs: description: 'The title of the overview' required: true default: 'Deployment overview' - targetJsonFile: + target-json-file: description: 'The file to write the JSON to' required: false default: 'deployment-overview.json' - targetMdFile: + 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.md' runs: using: 'docker' image: 'Dockerfile' @@ -47,5 +51,5 @@ runs: GITHUB_TOKEN: ${{ inputs.github-token }} TITLE: ${{ inputs.title }} TEMPLATE_FILE: ${{ inputs.template-file }} - TARGET_JSON_FILE: ${{ inputs.targetJsonFile }} - TARGET_MD_FILE: ${{ inputs.targetMdFile }} + TARGET_JSON_FILE: ${{ inputs.target-json-file }} + TARGET_MD_FILE: ${{ inputs.target-md-file }}