This repository was archived by the owner on Aug 4, 2026. It is now read-only.
feat: sync with openiap v1.3.12 (#3125) #121
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: Deploy / Documentation | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'docs/**' | |
| - '.github/workflows/deploy-docs.yml' | |
| jobs: | |
| publish-documentation: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: '1.2.22' | |
| - name: Generate API docs | |
| run: | | |
| bunx typedoc --plugin typedoc-plugin-markdown --out docs/docs/api --entryDocument '..' ./src || true | |
| - name: Install packages and build | |
| run: | | |
| cd docs | |
| bun install | |
| bun run build | |
| - name: Deploy | |
| uses: peaceiris/actions-gh-pages@v4 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./docs/build | |
| publish_branch: gh-pages |