We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dd81c3 commit 025048fCopy full SHA for 025048f
.github/workflows/deploy-pages.yml
@@ -45,7 +45,7 @@ jobs:
45
ALLOWLIST=("https://github.com/happycube/ld-decode")
46
47
# Find external links and extract just the URL (remove ]( prefix and ) suffix)
48
- EXTERNAL_LINKS=$(grep -oE '\]\(https?://[^)]+\)' wiki-default/Sidebar.md | cut -c3- | sed 's/)$//')
+ EXTERNAL_LINKS=$(grep -oE '\]\(https?://[^)]+\)' wiki-default/Sidebar.md | cut -c3- | sed 's/)$//' || true)
49
50
# Filter out allowlisted URLs
51
FILTERED_LINKS=""
@@ -59,8 +59,7 @@ jobs:
59
fi
60
done
61
if [[ "$skip" == false ]]; then
62
- FILTERED_LINKS+="$url
63
-"
+ FILTERED_LINKS+="$url"$'\n'
64
65
done < <(echo "$EXTERNAL_LINKS")
66
0 commit comments