Skip to content

Commit add7344

Browse files
committed
now downloading json wiht openapi spec instead of hosting it
1 parent 586f40a commit add7344

File tree

2 files changed

+6
-944
lines changed

2 files changed

+6
-944
lines changed

.github/workflows/docs.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ jobs:
4646
- name: Install MkDocs
4747
run: pip install mkdocs-material mkdocs-mermaid2-plugin mkdocs-swagger-ui-tag
4848

49+
- name: Download OpenAPI spec
50+
run: |
51+
curl -s https://api.integr8scode.cc/openapi.json | \
52+
jq '. + {servers: [{url: "https://api.integr8scode.cc", description: "Production"}]}' \
53+
> docs/reference/openapi.json
54+
4955
- name: Build documentation
5056
run: mkdocs build --strict
5157

0 commit comments

Comments
 (0)