Skip to content

Commit

Permalink
Fix reference to template
Browse files Browse the repository at this point in the history
  • Loading branch information
dkrizic committed Mar 2, 2024
1 parent 7d9ddb4 commit 350f31a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 8 additions & 4 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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 }}

0 comments on commit 350f31a

Please sign in to comment.