Commit ebc0d5917b

ebc0d5917b3353a7f26639febc5ed088b8eaefac

parent: c01dba4633

Unsigned

cmc <hello@cleberg.net> · 2026-08-22 03:56 UTC

Use --root-dir for local link resolution

--base requires an absolute path or a full URL; --root-dir is the flag for
resolving root-relative links in local files.

Layout: unified · split

.github/workflows/link-check.yml +6 −1
@@ -46,7 +46,11 @@ jobs:
46 - name: Internal links 46 - name: Internal links
47 uses: lycheeverse/lychee-action@v2.9.0 47 uses: lycheeverse/lychee-action@v2.9.0
48 with: 48 with:
49 args: --offline --base .build-dev --include-verbatim '.build-dev/**/*.html' 49 args: >-
50 --offline
51 --root-dir ${{ github.workspace }}/.build-dev
52 --include-verbatim
53 '.build-dev/**/*.html'
50 fail: true 54 fail: true
51 output: internal.md 55 output: internal.md
52 56
@@ -57,6 +61,7 @@ jobs:
57 with: 61 with:
58 args: >- 62 args: >-
59 --exclude-mail 63 --exclude-mail
64 --root-dir ${{ github.workspace }}/.build-dev
60 --exclude '\.onion' 65 --exclude '\.onion'
61 --max-concurrency 8 66 --max-concurrency 8
62 --max-retries 2 67 --max-retries 2