diff --git a/.github/workflows/panvimdoc.yml b/.github/workflows/panvimdoc.yml new file mode 100644 index 0000000..99f0c1a --- /dev/null +++ b/.github/workflows/panvimdoc.yml @@ -0,0 +1,28 @@ +name: Generate documentation + +on: + push: + branches: [ "main" ] + workflow_dispatch: + +permissions: + contents: write + pull-requests: write + +jobs: + docs: + runs-on: ubuntu-latest + name: pandoc to vimdoc + steps: + - uses: actions/checkout@v2 + - uses: kdheepak/panvimdoc@main + with: + vimdoc: hawtkeys.nvim + version: "NVIM >=0.9" + toc: true + demojify: true + treesitter: true + - uses: stefanzweifel/git-auto-commit-action@v4 + with: + commit_message: "chore(docs): autogenerate vimdoc" + branch: ${{ github.head_ref }}