Skip to content

Commit 2f5648f

Browse files
authored
cI: fix path for docs generation in workflow
Updated the workflow to use the correct path for the docs generator script.
1 parent 3a96f3e commit 2f5648f

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎.github/workflows/generate-docs.yml‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,19 @@ jobs:
1515
pull-requests: write
1616
runs-on: ubuntu-latest
1717
steps:
18-
- name: Checkout
18+
- name: Checkout docs generator
1919
uses: actions/checkout@v6
20+
with:
21+
repository: BlueLua/bluelua.github.io
22+
path: .docgen
2023

2124
- name: Setup Lua
2225
uses: leafo/gh-actions-lua@v13
2326
with:
2427
luaVersion: "luajit"
2528

2629
- name: Generate docs
27-
run: luajit scripts/generate-api-docs.lua types docs
30+
run: luajit .docgen/scripts/generate-api-docs.lua types docs
2831

2932
- name: Open docs PR
3033
uses: peter-evans/create-pull-request@v7

0 commit comments

Comments
 (0)