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

19 lines
568 B
YAML
Raw Normal View History

2024-04-13 21:15:15 +00:00
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
2024-04-13 21:15:15 +00:00
processed-dir:
description: 'The directory to move processed markdown files to'
required: true
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.input-dir }}
2024-04-13 21:10:37 +00:00
- ${{ inputs.output-dir }}
- ${{ inputs.processed-dir }}