Skip to content

Commit

Permalink
change args syntax to support booleans
Browse files Browse the repository at this point in the history
  • Loading branch information
xzebra authored Nov 10, 2021
1 parent 96a0883 commit ce6f9ad
Showing 1 changed file with 14 additions and 27 deletions.
41 changes: 14 additions & 27 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ inputs:
use-date-for-filename:
description: Use the creation date to generate the post filename.
required: false
default: false
default: true
use-shortcodes:
description: True if you want to generate shortcodes for unimplemented markdown blocks, such as callout or quote.
required: false
Expand All @@ -57,29 +57,16 @@ runs:
using: 'docker'
image: 'Dockerfile'
args:
- -database-id
- ${{ inputs.database-id }}
- -content-folder
- ${{ inputs.content-folder }}
- -images-folder
- ${{ inputs.images-folder }}
- -archetype-file
- ${{ inputs.archetype-file }}
- -property-description
- ${{ inputs.property-description }}
- -property-tags
- ${{ inputs.property-tags }}
- -property-categories
- ${{ inputs.property-categories }}
- -images-link
- ${{ inputs.images-link }}
- -filter-prop
- ${{ inputs.filter-prop }}
- -filter-value
- ${{ inputs.filter-value }}
- -published-value
- ${{ inputs.published-value }}
- -use-date-for-filename
- ${{ inputs.use-date-for-filename }}
- -use-shortcodes
- ${{ inputs.use-shortcodes }}
- -database-id=${{ inputs.database-id }}
- -content-folder=${{ inputs.content-folder }}
- -images-folder=${{ inputs.images-folder }}
- -archetype-file=${{ inputs.archetype-file }}
- -property-description=${{ inputs.property-description }}
- -property-tags=${{ inputs.property-tags }}
- -property-categories=${{ inputs.property-categories }}
- -images-link=${{ inputs.images-link }}
- -filter-prop=${{ inputs.filter-prop }}
- -filter-value=${{ inputs.filter-value }}
- -published-value=${{ inputs.published-value }}
- -use-date-for-filename=${{ inputs.use-date-for-filename }}
- -use-shortcodes=${{ inputs.use-shortcodes }}

0 comments on commit ce6f9ad

Please sign in to comment.