Check for broken links #267
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: Check for broken links | |
on: | |
workflow_dispatch: # allow manual trigger | |
push: | |
branches: | |
- main | |
schedule: | |
# run daily at 4 am | |
# * is a special character in YAML so you have to quote this string | |
- cron: '0 4 * * *' | |
jobs: | |
crawl_for_broken_links: | |
runs-on: ubuntu-latest | |
name: Broken-Links-Crawler | |
steps: | |
- name: Checking links | |
uses: ScholliYT/Broken-Links-Crawler-Action@v3 | |
with: | |
website_url: 'https://d-oit.github.io' | |
exclude_url_prefix: 'mailto:,https://www.linkedin.com,https://linkedin.com' | |
verbose: 'true' | |
max_retry_time: 30 | |
max_retries: 5 | |
max_depth: 1 |