Skip to content

Commit

Permalink
feat(ci): update panvimdoc workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
m4xshen committed Jul 21, 2024
1 parent 908f1e2 commit 3e83656
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions .github/workflows/panvimdoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,24 @@ name: panvimdoc

on:
push:
pull_request:
branches: [main]
paths:
- README.md
- .github/workflows/panvimdoc.yml

permissions:
contents: write

jobs:
docs:
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/main' }}
name: pandoc to vimdoc
steps:
- uses: actions/checkout@v3
- name: panvimdoc
uses: kdheepak/panvimdoc@main
- uses: actions/checkout@v4
- uses: kdheepak/panvimdoc@main
with:
vimdoc: autoclose.nvim
version: "Neovim >= 0.7.0"
demojify: true
treesitter: true
- name: Push changes
uses: stefanzweifel/git-auto-commit-action@v4
vimdoc: ${{ github.event.repository.name }}
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "chore(build): auto-generate vimdoc"
commit_user_name: "github-actions[bot]"
commit_user_email: "github-actions[bot]@users.noreply.github.com"
commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"
commit_message: "docs: auto-generate vimdoc"
branch: ${{ github.head_ref }}

0 comments on commit 3e83656

Please sign in to comment.