Skip to content

Commit db3042f

Browse files
Copilotmaehr
andcommitted
fix: add max-redirects flag to lychee to handle redirect chains
Co-authored-by: maehr <14755525+maehr@users.noreply.github.com>
1 parent 1e66427 commit db3042f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/quarto-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ jobs:
130130
- name: Check for broken links with lychee
131131
uses: lycheeverse/lychee-action@v2
132132
with:
133-
args: --verbose --no-progress --accept 200,301,302 http://localhost:5528/
133+
args: --verbose --no-progress --accept 200,301,302 --max-redirects 2 http://localhost:5528/
134134
fail: true
135135

136136
- name: Stop server

0 commit comments

Comments
 (0)