Skip to content

Merge pull request #175 from nationalarchives/document-court-regex-in… #6

Merge pull request #175 from nationalarchives/document-court-regex-in…

Merge pull request #175 from nationalarchives/document-court-regex-in… #6

name: Generate API docs and deploy to GitHub Pages
on:
push:
branches: ["main"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
generate-api-docs:
name: Generate API Documentation
runs-on: ubuntu-latest
steps:
- name: Generate API docs and deploy to GitHub Pages
uses: msayson/[email protected]
with:
api-configs: |-
[
{
"openapi-json-filepath": "doc/openapi/public_api.yml",
"api-doc-filepath": "public.html"
},
{
"openapi-json-filepath": "doc/openapi/privileged_api.yml",
"api-doc-filepath": "privileged.html"
}
]
api-docs-dir: doc/api-generated