mirror of
https://github.com/Hilbis/Hilbish
synced 2025-04-09 23:23:22 +00:00
ci: add action to gen and push docs
This commit is contained in:
parent
d1b7515722
commit
c5f5a83990
19
.github/workflows/docs.yml
vendored
Normal file
19
.github/workflows/docs.yml
vendored
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
name: Regenerate docs
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [master]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
reorganize:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Run docgen
|
||||||
|
uses: actions/setup-go@v2
|
||||||
|
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/
|
Loading…
x
Reference in New Issue
Block a user