Add Avro/Kafka code generation with typed producers, consumers, and RPC #15
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: | |
| push: | |
| branches: [ 'main' ] | |
| paths: | |
| - 'site/**' | |
| - 'site-in/**' | |
| - '.github/workflows/deploy-docs.yml' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| concurrency: | |
| group: "pages" | |
| cancel-in-progress: false | |
| jobs: | |
| build: | |
| timeout-minutes: 20 | |
| runs-on: ubuntu-latest | |
| if: "!contains(github.event.head_commit.message, 'ci skip')" | |
| env: | |
| PG_MAJOR: 16 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: bleep-build/bleep-setup-action@0.0.1 | |
| - uses: coursier/cache-action@v6 | |
| with: | |
| extraFiles: bleep.yaml | |
| - name: Start up Postgres | |
| run: docker compose up -d | |
| - name: Generate docs with mdoc | |
| run: | | |
| bleep generate-docs | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| cache-dependency-path: site/package-lock.json | |
| - name: Install dependencies | |
| run: npm ci | |
| working-directory: ./site | |
| - name: Build website | |
| run: npm run build | |
| working-directory: ./site | |
| - name: Setup Pages | |
| uses: actions/configure-pages@v4 | |
| - name: Upload artifact | |
| uses: actions/upload-pages-artifact@v3 | |
| with: | |
| path: ./site/build | |
| deploy: | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| runs-on: ubuntu-latest | |
| needs: build | |
| steps: | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v4 |