Link Checker #146
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 | |
# 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" | |