Skip to content

Commit 7fd62b6

Browse files
committed
Try explicitly setting --config to the lychee.toml path
1 parent 0cf350d commit 7fd62b6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/linkcheck-pr.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ jobs:
224224
# Same-repo PRs: Wait for deployment and use preview URL
225225
# Fork PRs: Run immediately and check against production (no preview available)
226226
args: >-
227+
--config lychee.toml
227228
--base-url ${{ steps.pr-context.outputs.deploy_url || 'https://docs.wandb.ai' }}
228229
${{ steps.fork-docs-check.outputs.all_changed_files || steps.changed-files.outputs.all_changed_files || '.' }}
229230

.github/workflows/linkcheck-prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
with:
3535
# Configuration is in lychee.toml
3636
# Check all URLs from sitemap
37-
args: "urls.txt"
37+
args: "--config lychee.toml urls.txt"
3838
output: ./lychee-report.md
3939
format: markdown
4040
fail: false

0 commit comments

Comments
 (0)