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 }}