Skip to content

Commit 2690c3e

Browse files
committed
build CLI doc and upload artifact
1 parent 2e73c3b commit 2690c3e

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/actions/publish-website/action.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ runs:
5151
if: always()
5252
run: docker stop mokapi || true
5353
shell: bash
54+
- name: Build CLI doc
55+
run: go run ./cmd/internal/gen-cli-docs/main.go
56+
shell: bash
57+
- name: Upload CLI doc
58+
uses: actions/upload-artifact@v4
59+
with:
60+
name: cli.md
61+
path: docs/configuration/static/mokapi.md
5462
- name: build website
5563
working-directory: ./webui
5664
run: |

0 commit comments

Comments
 (0)