Skip to content

Add page linter to CI #26

Add page linter to CI

Add page linter to CI #26

Workflow file for this run

name: Continuous Integration
on:
# We have deploy there
# push:
# branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: "true"
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: pip install -r .devcontainer/requirements.txt
- 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