Skip to content

Commit fd16599

Browse files
committed
Update lychee
1 parent e16d98b commit fd16599

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
- name: Check HTML Links After Building
7474
uses: lycheeverse/lychee-action@v2
7575
with:
76-
args: --verbose --no-progress --base _site --exclude ^https://github\.com.*merge.* --exclude ^https://github\.com.*apiSpec.* --max-retries 0 --max-concurrency 32 --cache --max-cache-age 1d '_site/**/*.html'
76+
args: --verbose --no-progress --root-dir "${{ github.workspace }}/public" --exclude ^https://github\.com.*merge.* --exclude ^https://github\.com.*apiSpec.* --max-retries 0 --max-concurrency 32 --cache --max-cache-age 1d '_site/**/*.html'
7777
fail: true
7878

7979
deploy:

docfx-utils.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function lychee($lycheePath)
2222
{
2323
Write-Output "`nRunning lychee..."
2424
Write-Output "------------------------------------------`n"
25-
Invoke-Expression "& `"$lycheePath`" --no-progress --base _site --exclude ^https://github\.com.*merge.* --exclude ^https://github\.com.*apiSpec.* --exclude ^https://github\.com/open-ephys/bonsai-onix1-docs/blob/.* '_site/**/*.html' --max-retries 0 --max-concurrency 32 --cache --max-cache-age 1d"
25+
Invoke-Expression "& `"$lycheePath`" --no-progress --root-dir $(pwd)/_site/ --exclude ^https://github\.com.*merge.* --exclude ^https://github\.com.*apiSpec.* --exclude ^https://github\.com/open-ephys/bonsai-onix1-docs/blob/.* '_site/**/*.html' --max-retries 0 --max-concurrency 32 --cache --max-cache-age 1d"
2626
Write-Output "`n"
2727
}
2828

0 commit comments

Comments
 (0)