mirror of
https://github.com/jbowdre/capsule.git
synced 2024-11-14 02:12:18 +00:00
36 lines
687 B
YAML
36 lines
687 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'
|
|
token: ${{ secrets.MY_GH_TOKEN }}
|
|
|
|
|