chore: debug
as configurable as option
#241
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: panvimdoc | |
on: | |
push: | |
branches: [main] | |
paths: | |
- README.md | |
- .github/workflows/panvimdoc.yml | |
workflow_dispatch: {} # allows manual execution | |
permissions: | |
contents: write | |
#─────────────────────────────────────────────────────────────────────────────── | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
name: README.md to vimdoc | |
steps: | |
- uses: actions/checkout@v4 | |
- run: git pull # fix failure when multiple commits are pushed in succession | |
- run: mkdir -p doc | |
- name: panvimdoc | |
uses: kdheepak/panvimdoc@main | |
with: | |
vimdoc: ${{ github.event.repository.name }} | |
version: "Neovim" | |
demojify: true | |
treesitter: true | |
- run: git pull | |
- name: push changes | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: "chore: auto-generate vimdocs" | |
branch: ${{ github.head_ref }} |