-
-
Notifications
You must be signed in to change notification settings - Fork 73
27 lines (27 loc) · 822 Bytes
/
broken-links-crawler.yml
File metadata and controls
27 lines (27 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Broken Links Crawler
on:
workflow_dispatch:
push:
branches:
- master
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '35 13 5,19 * *'
jobs:
crawl_for_broken_links:
runs-on: ubuntu-latest
name: Broken-Links-Crawler
steps:
- name: Debug Action
uses: hmarr/debug-action@v1.0.0
- name: Checking broken links
id: check-broken-links
uses: ScholliYT/Broken-Links-Crawler-Action@v3.3.1
with:
website_url: "https://keymapdb.com"
exclude_url_prefix: "/assets,https://mechdb.net"
max_retries: 2
# The crawler stops going deeper once it leaves the keymapdb domain
# so it won't accidentally crawl the whole web even if you put -1.
max_depth: -1
verbose: true