update build.zig to revert side_effect since Zig have fixed it #24
This file contains 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: docs | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Zig | |
uses: korandoru/setup-zig@v1 | |
with: | |
zig-version: 0.12.0 | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Generate documentation | |
run: zig build docs --summary all | |
- name: Deploy to GitHub Pages | |
if: success() | |
uses: crazy-max/ghaction-github-pages@v4 | |
with: | |
target_branch: gh-pages | |
build_dir: zig-out/docs | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |