Skip to content

Add ci vimdoc auto-generation #25

Add ci vimdoc auto-generation

Add ci vimdoc auto-generation #25

Workflow file for this run

name: docs
on:
push:
pull_request:
branches:
- docs-ci-test
jobs:
docs:
runs-on: ubuntu-latest
container: alpine:latest
permissions:
contents: write
steps:
- name: Prepare container
run: apk update && apk add git sed bash
- name: Checkout repository
uses: actions/checkout@v4
- name: Prepare README.md
run: sed -i -r "s/#(#+)/\1/g" ./README.md
- name: panvimdoc
uses: kdheepak/panvimdoc@main
with:
vimdoc: improved-search.nvim
- name: Push changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
file_pattern: doc/*.txt
commit_message: 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>