Skip to content

chore: update snapshots #297

chore: update snapshots

chore: update snapshots #297

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'