mirror of
https://github.com/ZoneTree/ZoneTree.git
synced 2026-10-18 06:21:43 +08:00
31 lines
763 B
YAML
31 lines
763 B
YAML
name: Documentation
|
|
|
|
on:
|
|
push:
|
|
branches: ['main']
|
|
paths:
|
|
- 'README.md'
|
|
- 'zonetree-dev/content/docs/**'
|
|
- 'src/ZoneTree/docs/**'
|
|
- 'scripts/validate-docs/**'
|
|
- '.github/workflows/docs.yml'
|
|
pull_request:
|
|
branches: ['main']
|
|
paths:
|
|
- 'README.md'
|
|
- 'zonetree-dev/content/docs/**'
|
|
- 'src/ZoneTree/docs/**'
|
|
- 'scripts/validate-docs/**'
|
|
- '.github/workflows/docs.yml'
|
|
|
|
jobs:
|
|
validate:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- uses: actions/setup-dotnet@v5
|
|
with:
|
|
dotnet-version: '10.0.x'
|
|
- name: Validate links and navigation
|
|
run: dotnet run --project scripts/validate-docs/ValidateDocs.csproj --configuration Release
|