capsule/.github/workflows/markdown2gempost.yml
2024-04-13 16:07:22 -05:00

34 lines
642 B
YAML

name: "Markdown to Gempost"
on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'markdown/**'
concurrency:
group: md2gmi
cancel-in-progress: true
defaults:
run:
shell: bash
jobs:
md2gmi:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/markdown2gempost
with:
input-dir: 'markdown/incoming'
output-dir: 'gemlog'
processed-dir: 'markdown'
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'convert Markdown post to Gempost'