feat: split schema into sub-schemas #4769
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: docs | |
| on: | |
| push: | |
| branches: | |
| - "main" | |
| - "develop" | |
| - "release/**" | |
| pull_request: | |
| branches: | |
| - "main" | |
| - "develop" | |
| - "release/**" | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-22.04 | |
| permissions: | |
| contents: write | |
| pages: write | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: 3.9 | |
| - name: install deps | |
| uses: ./.github/actions/cached-ui-deps | |
| - name: Build Storybook | |
| run: | | |
| cd ui | |
| yarn run build-storybook --quiet --output-dir ../docs/storybook/ | |
| cd ../ | |
| - run: | | |
| curl -sSL https://install.python-poetry.org | python3 - --version 2.1.4 && poetry self add [email protected] | |
| poetry install | |
| - name: Deploy to GitHub Pages | |
| if: github.ref_name == 'main' | |
| run: poetry run mkdocs gh-deploy --force --strict | |
| - name: Build Docs | |
| if: github.ref_name != 'main' | |
| run: poetry run mkdocs build --strict |