aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/lint-docs.yaml
blob: c616e9a887b56901b7e17050081229866cb59815 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: Test documentation
on:
  pull_request:

jobs:
  lint-docs:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          submodules: recursive
          fetch-depth: 0
      - name: Setup Hugo
        uses: peaceiris/actions-hugo@v3
        with:
          hugo-version: '0.124.0'
          extended: true
      - name: Run hugo
        run: |
          cd docs
          hugo --panicOnWarning --renderToMemory