mirror of https://github.com/Hilbis/Hilbish
20 lines
435 B
YAML
20 lines
435 B
YAML
name: Generate docs
|
|
|
|
on:
|
|
- push
|
|
- pull_request
|
|
|
|
jobs:
|
|
gen:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-go@v2
|
|
- name: Run docgen
|
|
run: go run cmd/docgen/docgen.go
|
|
- name: Commit new docs
|
|
uses: stefanzweifel/git-auto-commit-action@v4
|
|
with:
|
|
commit_message: "docs: [ci] generate new docs"
|
|
file_pattern: docs/ emmyLuaDocs/
|