Add daily updates of pmtiles file

This commit is contained in:
Pieter Vander Vennet 2025-06-16 14:35:17 +02:00
parent 8ce5c981df
commit 32c2be933f

View file

@ -36,3 +36,15 @@ jobs:
DATE=$(echo $TIMESTAMP | sed "s/T.*//")
echo $DATE
echo $DATE /data/planet_version.txt
update_protomaps:
runs-on: [ osm-cache ]
steps:
- uses: https://source.mapcomplete.org/actions/checkout@v4
- name: Download the pmtile file
shell: bash
run: wget "https://build.protomaps.com/$(date +%Y%m%d).pmtiles" -O /data/planet-latest.pmtiles.part
- name: Move the pmtile file
shell: bash
run: mv -f /data/planet-latest.pmtiles.part /data/planet-latest.pmtiles