Add daily updates of pmtiles file
This commit is contained in:
parent
8ce5c981df
commit
32c2be933f
1 changed files with 12 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue