Skip to content

docs(gitbook-72): add json everywhere regarding data policies; fix mi… #29

docs(gitbook-72): add json everywhere regarding data policies; fix mi…

docs(gitbook-72): add json everywhere regarding data policies; fix mi… #29

Workflow file for this run

name: Docs
on:
push:
branches:
- alpha # change this to the branch we're actively working on, as Gitbook can only sync from a single branch
jobs:
publish_docs:
runs-on: ubuntu-latest
if: "contains(github.event.head_commit.message, 'chore(release)')"
steps:
- uses: actions/checkout@v4
- uses: bufbuild/buf-setup-action@v1
- name: "Generate OpenAPI spec"
run: |
cd protos
buf generate
cp openapi.yaml ../docs/.gitbook.yaml
- name: "Generate API Reference Docs"
run: |
cd scripts/docs
pip install pyyaml
python gendocs.py