Skip to content

docs

docs #72

Workflow file for this run

name: "docs"
on:
pull_request:
paths: &monitored_paths
- ".github/workflows/docs.yaml"
- "docs/**"
- "examples/wolf/quick-start/**"
- "taskfile.yaml"
- "taskfiles/docs.yaml"
- "tools/yscope-dev-utils"
push:
paths: *monitored_paths
schedule:
# Run daily at 00:15 UTC (the 15 is to avoid periods of high load)
- cron: "15 0 * * *"
workflow_dispatch:
permissions: {}
concurrency:
group: "${{github.workflow}}-${{github.ref}}"
# Cancel in-progress jobs for efficiency
cancel-in-progress: true
jobs:
build:
name: "Build ${{matrix.task}} docs"
permissions:
contents: "read"
strategy:
matrix:
os: ["macos-latest", "ubuntu-24.04"]
task: ["huntsman", "wolf"]
runs-on: "${{matrix.os}}"
steps:
- uses: "actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd" # v6.0.2
with:
submodules: "recursive"
- uses: "./tools/yscope-dev-utils/exports/github/actions/install-python"
- uses: "./tools/yscope-dev-utils/exports/github/actions/install-go-task"
- uses: "./tools/yscope-dev-utils/exports/github/actions/print-tool-versions"
- name: "Build docs"
run: "task docs:${{matrix.task}}:site"