Skip to content

Feat/Proof mode and secure run functionality (#531) #48

Feat/Proof mode and secure run functionality (#531)

Feat/Proof mode and secure run functionality (#531) #48

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