capsule/.github/workflows/markdown2gempost.yml

35 lines
642 B
YAML
Raw Normal View History

2024-04-13 21:07:22 +00:00
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:
2024-04-13 21:07:22 +00:00
input-dir: 'markdown/incoming'
output-dir: 'gemlog'
2024-04-13 21:07:22 +00:00
processed-dir: 'markdown'
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'convert Markdown post to Gempost'