actually use cities.txt

Signed-off-by: zyphlar <zyphlar@noreply.codeberg.org>
This commit is contained in:
zyphlar
2025-12-31 22:50:15 +01:00
parent 3bea0b32a2
commit 5c53a3cad6

View File

@@ -158,13 +158,12 @@ jobs:
shell: bash
run: |
cd ~/subways
if [ -f "$HTML_DIR/index.html" ]; then
if [ -f "$HTML_DIR/cities.txt" ]; then
echo "Comparing local validation with VK's validation..."
python3 ./scripts/compare_html_validation.py \
--remote-url "https://maps.vk.com/osm/tools/subways/latest/index.html" \
"$HTML_DIR/index.html"
python3 ./scripts/compare_html_validation.py "$HTML_DIR/cities.txt" \
--remote-url "https://maps.vk.com/osm/tools/subways/latest/cities.txt"
else
echo "Local index.html not found at $HTML_DIR/index.html"
echo "Local cities.txt not found at $HTML_DIR/cities.txt"
exit 1
fi
- name: Notify Zulip