capsule/.github/actions/markdown2gempost/action.yml

19 lines
No EOL
568 B
YAML

name: 'Convert Markdown to Gempost'
description: 'Convert Markdown posts to Gemtext with YAML sidecars for use with Gempost'
inputs:
input-dir:
description: 'The directory containing markdown files'
required: true
output-dir:
description: 'The directory to write gemini files to'
required: true
processed-dir:
description: 'The directory to move processed markdown files to'
required: true
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.input-dir }}
- ${{ inputs.output-dir }}
- ${{ inputs.processed-dir }}