Incorporate Disclosure Policy Templates #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Link Checker | |
on: | |
pull_request: | |
paths: | |
- '**/*.md' | |
- .github/workflows/linkchecker.yml | |
workflow_dispatch: | |
jobs: | |
linkcheck: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install -r requirements.txt | |
python -m pip install linkchecker | |
# python -m pip install -e . | |
- name: Build Site | |
run: | | |
mkdocs build --verbose --clean --config-file mkdocs.yml | |
- name: Check links | |
run: | | |
linkchecker site/index.html |