Skip to content

Commit 3c2965e

Browse files
don't check broken links on stackoverflow, it returns too many 403 errors (anti bot detection)
1 parent c219cf1 commit 3c2965e

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎.github/workflows/doc.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
with:
5959
url: "https://${{ steps.build_hugo.outputs.branch_name }}.resticprofile.pages.dev/"
6060
pages_path: ./public/
61-
cmd_params: '--exclude="(linux\.die\.net|scoop\.sh|commit)" --buffer-size=8192 --max-connections-per-host=8 --rate-limit=20 --color=always --skip-tls-verification --header="User-Agent: Muffet/2.10.8" --timeout=20'
61+
cmd_params: '--exclude="(linux\.die\.net|scoop\.sh|stackoverflow\.com|commit)" --buffer-size=8192 --max-connections-per-host=8 --rate-limit=20 --color=always --skip-tls-verification --header="User-Agent: Muffet/2.10.8" --timeout=20'
6262

6363
- name: Publish to pages.dev
6464
continue-on-error: true # secrets are not set for PRs from forks

‎.github/workflows/release-doc.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
with:
5050
url: https://creativeprojects.github.io/resticprofile/
5151
pages_path: ./www/
52-
cmd_params: '--exclude="(linux\.die\.net|scoop\.sh|commit)" --buffer-size=8192 --max-connections-per-host=8 --rate-limit=20 --timeout=20 --header="User-Agent: Muffet/2.10.8" --skip-tls-verification'
52+
cmd_params: '--exclude="(linux\.die\.net|scoop\.sh|stackoverflow\.com|commit)" --buffer-size=8192 --max-connections-per-host=8 --rate-limit=20 --timeout=20 --header="User-Agent: Muffet/2.10.8" --skip-tls-verification'
5353

5454
- name: Deploy to GitHub Pages
5555
uses: peaceiris/actions-gh-pages@v4

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ checkdoc: ## Check documentation
328328
checklinks: $(GOBIN)/muffet ## Check for broken links in the documentation site
329329
@echo "[*] $@"
330330
muffet --buffer-size=8192 --max-connections-per-host=8 --rate-limit=20 \
331-
--exclude="(linux\.die\.net|scoop\.sh|commit)" \
331+
--exclude="(linux\.die\.net|scoop\.sh|stackoverflow\.com|commit)" \
332332
--header="User-Agent: Muffet/$$(muffet --version)" \
333333
http://127.0.0.1:1313/resticprofile/
334334

0 commit comments

Comments
 (0)