Skip to content

Feat/range check instance (#229) #44

Feat/range check instance (#229)

Feat/range check instance (#229) #44

Workflow file for this run

name: Docs
on:
push:
branches: [main]
pull_request:
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Zig
uses: korandoru/setup-zig@v1
with:
zig-version: master
- name: Generate docs
run: zig test -femit-docs=./docsite src/lib.zig
- name: Deploy
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && steps.check_changes.outcome == 'success' }}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docsite