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