Skip to content

Release notes for 2023-10-26 release #253

Release notes for 2023-10-26 release

Release notes for 2023-10-26 release #253

name: Validate static MkDocs pages
on: pull_request
jobs:
validate-mkdocs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build MkDocs pages
uses: docker://squidfunk/mkdocs-material:8.2.8
timeout-minutes: 1
with:
args: >-
build
--verbose
--strict
- id: format-github-repo
run: echo "repo-name=${GITHUB_REPOSITORY#*\/}" >> $GITHUB_OUTPUT
- name: Test links
timeout-minutes: 10
uses: docker://klakegg/html-proofer:3.16.0
env:
GITHUB_REPOSITORY: ${{ github.repository }}
with:
args: >-
--allow-hash-href
--check-html
--http-status-ignore 302
--file-ignore ./site/404.html
--url-ignore "https://fonts.gstatic.com,/hypernews.cern.ch/,/github.com\/osg-htc\/${{ steps.format-github-repo.outputs.repo-name }}\/edit/,/osg-htc.org\/${{ steps.format-github-repo.outputs.repo-name }}/,/\/${{ steps.format-github-repo.outputs.repo-name }}/"
./site