File tree Expand file tree Collapse file tree
.github/actions/publish-website Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,25 +51,12 @@ runs:
5151 if : always()
5252 run : docker stop mokapi || true
5353 shell : bash
54- - name : build webui
54+ - uses : ./.github/actions/build-cli-flags-doc
55+ - name : build website
5556 working-directory : ./webui
5657 run : |
5758 npm install
5859 npm version ${{ steps.release.outputs.release }}
59- npm run build
60- shell : bash
61- - name : Build CLI doc
62- run : go run ./cmd/internal/gen-cli-docs/main.go
63- shell : bash
64- - name : Add CLI Flags nav entry
65- run : |
66- jq '.Configuration.items.Static.items["CLI Flags"] = "configuration/static/mokapi.md"' ./config.json > ./tmp.json
67- mv ./tmp.json ./config.json
68- working-directory : ./docs
69- shell : bash
70- - name : build website
71- working-directory : ./webui
72- run : |
7360 npm run copy-docs
7461 npm run build-sitemap
7562 npm run build-website
You can’t perform that action at this time.
0 commit comments