File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 permissions :
1515 contents : write
1616 pull-requests : write
17- runs-on : ubuntu-latest
18- steps :
19- - name : Checkout
20- uses : actions/checkout@v6
21-
22- - name : Checkout docs generator
23- run : git clone --depth 1 https://github.com/BlueLua/bluelua.github.io.git "${RUNNER_TEMP}/docgen"
24-
25- - name : Setup Lua
26- uses : leafo/gh-actions-lua@v13
27- with :
28- luaVersion : " luajit"
29-
30- - name : Generate docs
31- run : luajit "${RUNNER_TEMP}/docgen/scripts/generate-api-docs.lua" types docs
32-
33- - name : Format docs
34- run : npx --yes prettier@3.8.3 --write "docs/**/*.md"
35-
36- - name : Open docs PR
37- uses : peter-evans/create-pull-request@v7
38- with :
39- commit-message : " docs: generate API docs"
40- title : " docs: generate API docs"
41- body : " Generate and format API docs from LuaLS type annotations."
42- branch : automation/generate-docs
43- add-paths : |
44- docs
17+ uses : BlueLua/bluelua.github.io/.github/workflows/generate-docs.yml@main
You can’t perform that action at this time.
0 commit comments