From b4640f628b885b35d3f58e6ea0a8e12d21eee0cf Mon Sep 17 00:00:00 2001 From: Oleg Nenashev Date: Thu, 24 Oct 2024 18:35:44 +0200 Subject: [PATCH] Add page linter to CI --- .github/workflows/ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 186618b..4513f6c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,3 +28,14 @@ jobs: - name: Build the docs run: mkdocs build + + - name: Lint the static site + uses: anishathalye/proof-html@v2 + # if: ${{ inputs.runLint }} + with: + directory: ./_site + enforce_https: false + tokens: | + {"https://github.com": "${{ secrets.GITHUB_TOKEN }}"} + ignore_url: | + https://fonts.gstatic.com