generated from 2KAbhishek/bare-minimum
-
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (28 loc) · 782 Bytes
/
docs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
on:
push:
branches:
- main
name: Generate Docs
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: panvimdoc
uses: kdheepak/panvimdoc@main
with:
vimdoc: template
version: "Neovim >= 0.8.0"
demojify: true
treesitter: true
- name: Commit files
run: |
git config --local user.email "[email protected]"
git config --local user.name "Abhishek via github-actions"
git add .
git diff --quiet && git commit -m "docs: update help docs"
- name: Push
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}