Skip to content

fix: filter non-existent schemas for go types (#788) #291

fix: filter non-existent schemas for go types (#788)

fix: filter non-existent schemas for go types (#788) #291

Workflow file for this run

name: Docs
on:
push:
branches:
- master
workflow_dispatch:
# Cancel old builds on new commit for same workflow + branch/PR
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
docs:
name: Publish docs
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- run: |
npm clean-install
npm run docs:export
- name: Generate Swagger UI
uses: Legion2/swagger-ui-action@v1
with:
output: docs
spec-file: openapi.json
- name: Publish
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs
force_orphan: true
commit_message: 'docs: update'