Download protomaps from _yesterday_, remove test files

This commit is contained in:
Pieter Vander Vennet 2025-07-07 01:16:50 +02:00
parent 2dfb736019
commit 1150f56221
3 changed files with 1 additions and 29 deletions

View file

@ -1,27 +0,0 @@
on:
push
jobs:
test:
runs-on: [ debian ]
steps:
- uses: https://source.mapcomplete.org/actions/checkout@v4
- name: Print root directory
shell: bash
run: ls /
- name: create dummy file
run: |
date > date.txt
- name: push
run: |
git pull
git config user.name "Android file update bot"
git config user.email "info@mapcomplete.org"
date > date.txt
git add date.txt
git commit -m "Add files for release ${{ github.ref_name }}"
git tag "${{ github.ref_name }}"
git push --verbose --follow-tags

View file

@ -44,7 +44,7 @@ jobs:
- 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
run: wget "https://build.protomaps.com/$(date -d "yesterday" +%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

View file

@ -1 +0,0 @@
Tue Jun 17 11:34:50 UTC 2025