2022-02-25 21:55:35 +00:00
|
|
|
name: Regenerate docs
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [master]
|
|
|
|
|
|
|
|
jobs:
|
2022-02-25 21:59:32 +00:00
|
|
|
regen:
|
2022-02-25 21:55:35 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2022-02-25 21:58:09 +00:00
|
|
|
- uses: actions/setup-go@v2
|
2022-02-25 21:55:35 +00:00
|
|
|
- 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] regenerate new docs"
|
|
|
|
file_pattern: docs/ emmyLuaDocs/
|