Skip to content

Small doc updates/reorg #5

Small doc updates/reorg

Small doc updates/reorg #5

Workflow file for this run

name: Docs
on:
pull_request:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy:
name: Docs Zig Release
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Zig
uses: goto-bus-stop/setup-zig@v2
with:
version: 0.12.0
- name: Build docs
run: zig build docs
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './zig-out/docs'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4