Skip to content

Commit 61481ed

Browse files
committed
more
1 parent 73ba0a9 commit 61481ed

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.github/scripts/check-links.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ set -e
55
export MSYS_NO_PATHCONV=1 # for Git Bash on Windows
66

77
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
8-
LYCHEE_CONFIG="$SCRIPT_DIR/../../lychee.toml"
8+
LYCHEE_CONFIG="$SCRIPT_DIR/../../.lychee.toml"
99
DEPENDENCIES_DOCKERFILE="$SCRIPT_DIR/dependencies.dockerfile"
1010

1111
# Extract lychee version from dependencies.dockerfile
1212
LYCHEE_VERSION=$(grep "FROM lycheeverse/lychee:" "$DEPENDENCIES_DOCKERFILE" | sed 's/.*FROM lycheeverse\/lychee:\([^ ]*\).*/\1/')
1313

1414
# Build the lychee command with optional GitHub token
15-
CMD="lycheeverse/lychee:$LYCHEE_VERSION --verbose --config ./lychee.toml"
15+
CMD="lycheeverse/lychee:$LYCHEE_VERSION --verbose --config $(basename "$LYCHEE_CONFIG")"
1616

1717
# Add GitHub token if available
1818
if [[ -n "$GITHUB_TOKEN" ]]; then

lychee.toml renamed to .lychee.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@ retry_wait_time = 5
33
max_retries = 6
44
max_concurrency = 4
55

6-
# Stealth
7-
user_agent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:128.0) Gecko/20100101 Firefox/128.0"
8-
9-
# Check fragments in links
6+
# Check link anchors
107
include_fragments = true
118

129
# excluding links to pull requests and issues is done for performance

0 commit comments

Comments
 (0)