Zig bindings for the notmuch C library
0

Configure Feed

Select the types of activity you want to include in your feed.

add GH workflow to publish API docs

Jeffrey C. Ollie (Apr 4, 2025, 12:13 PM -0500) 68c869b6 401f9533

+40
+40
.github/workflows/static.yml
··· 1 + name: Deploy docs to GitHub Pages 2 + on: 3 + push: 4 + branches: 5 + - main 6 + workflow_dispatch: 7 + permissions: 8 + contents: read 9 + pages: write 10 + id-token: write 11 + concurrency: 12 + group: pages 13 + cancel-in-progress: false 14 + jobs: 15 + deploy: 16 + environment: 17 + name: github-pages 18 + url: ${{ steps.deployment.outputs.page_url }} 19 + runs-on: ubuntu-latest 20 + steps: 21 + - name: checkout 22 + uses: actions/checkout@v4 23 + - name: install Zig 24 + uses: mlugg/setup-zig@v1 25 + with: 26 + version: 0.14.0 27 + - name: build docs 28 + run: | 29 + zig build-lib -femit-docs src/notmuch.zig 30 + - name: setup pages 31 + uses: actions/configure-pages@v5 32 + - name: upload artifact 33 + uses: actions/upload-pages-artifact@v3 34 + with: 35 + path: ./docs 36 + - name: deploy to github pages 37 + id: deployment 38 + uses: action/deploy-pages@v4 39 + 40 +