Skip to content

Commit 52bd1c9

Browse files
brabojclaude
andcommitted
fix: use absolute path for lychee --base in CI
Lychee v2 requires --base to be a URL or absolute path. Use github.workspace to construct the absolute path. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 7cee7be commit 52bd1c9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ jobs:
3333
- name: Check links
3434
uses: lycheeverse/lychee-action@v2
3535
with:
36-
args: --base astro-site/dist astro-site/dist
36+
args: --base ${{ github.workspace }}/astro-site/dist astro-site/dist
3737
fail: true

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: Check links
4343
uses: lycheeverse/lychee-action@v2
4444
with:
45-
args: --base astro-site/dist astro-site/dist
45+
args: --base ${{ github.workspace }}/astro-site/dist astro-site/dist
4646
fail: true
4747

4848
- name: Upload artifact

0 commit comments

Comments
 (0)