Skip to content

chore: use mlugg/setup-zig (#14) #13

chore: use mlugg/setup-zig (#14)

chore: use mlugg/setup-zig (#14) #13

Workflow file for this run

name: docs
on:
workflow_dispatch:
push:
branches:
- main
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
deploy:
runs-on:
- ubuntu-latest
steps:
- name: install zig
uses: mlugg/setup-zig@v1
with:
version: master
- name: checkout
uses: actions/checkout@v4
- name: generate docs
run: zig build docs
- name: setup pages
uses: actions/configure-pages@v5
- name: upload artifacts
uses: actions/upload-pages-artifact@v3
with:
path: ./zig-out/docs/
- name: deploy pages
uses: actions/deploy-pages@v4