Fix eepsite sed pattern to match actual I2P link format
All checks were successful
Deploy krustyplanet.org / deploy (push) Successful in 8s

This commit is contained in:
BarnacleBoy 2026-05-04 20:21:19 +00:00
parent a37d89d340
commit e0d3c8ef15

View file

@ -53,8 +53,8 @@ jobs:
for page in "${SHARED_PAGES[@]}"; do
cp "$CLEARNET/$page" "$EEPSITE/$page"
# Replace I2P mirror link with clearnet reference
sed -i 's|🔒 I2P Mirror:.*b32\.i2p</a></p>|🌐 Clearnet: <a href="https://krustyplanet.org" style="color:#b5b5b5;">https://krustyplanet.org</a></p>|' "$EEPSITE/$page"
# Replace I2P self-reference with clearnet link
sed -i 's|🔒 I2P:</span>.*</p>|🌐 Clearnet:</span> <a href="https://krustyplanet.org" style="color:#b5b5b5;">https://krustyplanet.org</a></p>|' "$EEPSITE/$page"
# Remove nav links to clearnet-only pages
sed -i '/href="\/free-audit\.html"/d' "$EEPSITE/$page"