Skip to content

Link Checker

Link Checker #146

Workflow file for this run

name: Link Checker
# Only trigger, when the build workflow succeeded
on:
workflow_run:
workflows: ["pages-build-deployment"]
types:
- completed
jobs:
linkchecker:
name: Link Checker
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- run: pip3 install linkchecker
- run: |
linkchecker https://docs.strmprivacy.io/sitemap.xml \
--check-extern \
--ignore-url "^https:\/\/console\.strmprivacy\.io" \
--ignore-url "^https:\/\/accounts\.strmprivacy\.io" \
--ignore-url "^https:\/\/sts\.strmprivacy\.io" \
--ignore-url "^https:\/\/events\.strmprivacy\.io" \
--ignore-url "^http:\/\/localhost" \
--ignore-url "^https:\/\/crates\.io"