-
-
Notifications
You must be signed in to change notification settings - Fork 21
38 lines (32 loc) · 1.07 KB
/
panvimdoc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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 }}