From 5c53a3cad68ad3610bf2b353f2c03710989d19d9 Mon Sep 17 00:00:00 2001 From: zyphlar Date: Wed, 31 Dec 2025 22:50:15 +0100 Subject: [PATCH] actually use cities.txt Signed-off-by: zyphlar --- .forgejo/workflows/process_subways.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/process_subways.yml b/.forgejo/workflows/process_subways.yml index bd9d66c49..718531200 100644 --- a/.forgejo/workflows/process_subways.yml +++ b/.forgejo/workflows/process_subways.yml @@ -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