generated from chrisgrieser/nvim-pseudometa-plugin-template
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8d8b689
commit 55216d2
Showing
2 changed files
with
18 additions
and
317 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,39 @@ | ||
name: Auto-generate vimdocs | ||
name: panvimdoc | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
paths: | ||
- README.md # source file | ||
- .github/workflows/panvimdoc.yml # updates to this file itself | ||
workflow_dispatch: | ||
- 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 | ||
- uses: kdheepak/panvimdoc@main | ||
- run: git pull # fix failure when multiple commits are pushed in succession | ||
- run: mkdir -p doc | ||
|
||
- name: panvimdoc | ||
uses: kdheepak/panvimdoc@main | ||
with: | ||
vimdoc: rulebook | ||
vimdoc: ${{ github.event.repository.name }} | ||
version: "Neovim" | ||
demojify: true | ||
treesitter: true | ||
description: " Auto-generated from README.md. Do not make PRs to this file." | ||
- uses: stefanzweifel/git-auto-commit-action@v5 | ||
toc: false # already has a table of contents in the README | ||
|
||
- run: git pull | ||
- name: push changes | ||
uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
commit_message: "chore: auto-generate vimdocs" | ||
branch: ${{ github.head_ref }} |
This file was deleted.
Oops, something went wrong.