add vimdoc action

nessisary since README is in org
This commit is contained in:
marshmallow 2023-06-25 16:55:27 +10:00
parent 84ad5f6564
commit ece3e3f540
No known key found for this signature in database
GPG key ID: 767B8880F5AAEB9C

27
.github/workflows/panvimdoc.yml vendored Normal file
View file

@ -0,0 +1,27 @@
name: panvimdoc
on: [push]
jobs:
docs:
runs-on: ubuntu-latest
name: pandoc to vimdoc
steps:
- uses: actions/checkout@v2
- uses: docker://pandoc/core
with:
args: "--output README.md README.org"
- name: panvimdoc
uses: kdheepak/panvimdoc@main
with:
vimdoc: orgmode-babel.nvim
# The following are all optional
pandoc: "README.md"
version: "NVIM v0.10.0"
toc: true
treesitter: true
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Auto generate docs"
branch: ${{ github.head_ref }}