Skip to content

Commit ab437e2

Browse files
committed
chore: 👷 Update CI
1 parent 2f726eb commit ab437e2

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/panvimdoc.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,28 @@
11
# https://github.com/kdheepak/panvimdoc
22
name: panvimdoc
33

4-
on: [push]
4+
on:
5+
push:
6+
paths:
7+
- README.md
8+
- .github/workflows/panvimdoc.yml
9+
10+
permissions:
11+
contents: write
512

613
jobs:
714
docs:
815
runs-on: ubuntu-latest
916
name: pandoc to vimdoc
1017
steps:
18+
- name: Remove .nvim from repository name
19+
run: echo "REPO_NAME=${GITHUB_REPOSITORY##*/}" | sed 's/.nvim$//' >> $GITHUB_ENV
1120
- uses: actions/checkout@v2
1221
- uses: kdheepak/panvimdoc@main
1322
with:
14-
vimdoc: code_runner
15-
version: "NVIM v0.10.0"
23+
vimdoc: ${{ env REPO_NAME }}
24+
version: "NVIM v0.11.0"
1625
- uses: stefanzweifel/git-auto-commit-action@v4
1726
with:
18-
commit_message: "chore(docs): Auto generate docs"
27+
commit_message: "docs: :memo: Auto generate docs"
1928
branch: ${{ github.head_ref }}

0 commit comments

Comments
 (0)