-
Notifications
You must be signed in to change notification settings - Fork 0
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
23aad22
commit 9bbc098
Showing
3 changed files
with
61 additions
and
4 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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
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 | ||
|
||
- 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: Prepare environment to push changes | ||
run: | | ||
apk add bash | ||
git config --global --add safe.directory "$(pwd)" | ||
- 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> |
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
Empty file.