-
-
Notifications
You must be signed in to change notification settings - Fork 23
45 lines (37 loc) · 1.18 KB
/
panvimdoc.yml
File metadata and controls
45 lines (37 loc) · 1.18 KB
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
39
40
41
42
43
44
45
name: Panvimdoc
on:
workflow_dispatch:
push:
branches: [master]
paths:
- README.md
- .github/wiki/Configuration.md
- .github/wiki/Assets.md
- .github/wiki/Plugins.md
- .github/wiki/Examples.md
- .github/workflows/panvimdoc.yml
permissions:
contents: write
jobs:
docs:
name: Generate Panvimdoc
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: git pull origin master
- run: |
INCLUDES="\`\`\`{.include}\n.github/wiki/Configuration.md\n\`\`\`\n\n\`\`\`{.include}\n.github/wiki/Assets.md\n\`\`\`\n\n\`\`\`{.include}\n.github/wiki/Plugins.md\n\`\`\`\n\n\`\`\`{.include}\n.github/wiki/Examples.md\n\`\`\`\n\n"
echo -e "$INCLUDES$(cat README.md)" > _README.md
- uses: kdheepak/panvimdoc@main
with:
vimdoc: cord
pandoc: _README.md
version: "NVIM v0.6.0"
demojify: true
- run: rm _README.md
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "chore(docs): update vimdoc [skip ci]"
branch: ${{ github.head_ref }}
skip_dirty_check: true
file_pattern: doc/cord.txt