mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-03 11:23:48 +00:00
actually use cities.txt
Signed-off-by: zyphlar <zyphlar@noreply.codeberg.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user