diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 7bda6b4764..17e1acdf54 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -49,6 +49,15 @@ jobs: run: | mkdocs build --strict + - name: Verify that there are no variables in generated HTML + run: | + # Check for raw MkDocs variables in the generated HTML + if grep -Erl "\[\[=.*=\]\]" site > /dev/null; then + echo "Raw variables detected in the following files:" + grep -Erl "\[\[=.*=\]\]" site + exit 1 + fi + vale-check: runs-on: ubuntu-latest if: github.event_name == 'pull_request'