Skip to content

add programs for integration tests (#453) #56

add programs for integration tests (#453)

add programs for integration tests (#453) #56

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