Hilbish/.github/workflows/docs.yml

21 lines
446 B
YAML
Raw Permalink Normal View History

2022-02-25 22:04:34 +00:00
name: Generate docs
2022-02-25 21:55:35 +00:00
on:
push:
branches:
- master
2022-02-25 21:55:35 +00:00
jobs:
2022-02-25 22:04:34 +00:00
gen:
2022-02-25 21:55:35 +00:00
runs-on: ubuntu-latest
steps:
2024-05-03 16:47:24 +00:00
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
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:
2022-02-25 22:04:34 +00:00
commit_message: "docs: [ci] generate new docs"
2022-02-25 21:55:35 +00:00
file_pattern: docs/ emmyLuaDocs/