diff --git a/.forgejo/workflows/update_daily.yml b/.forgejo/workflows/update_daily.yml index cad23a6..c23a497 100644 --- a/.forgejo/workflows/update_daily.yml +++ b/.forgejo/workflows/update_daily.yml @@ -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