diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml deleted file mode 100644 index f0d71e9..0000000 --- a/.forgejo/workflows/test.yml +++ /dev/null @@ -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 diff --git a/.forgejo/workflows/update_daily.yml b/.forgejo/workflows/update_daily.yml index c23a497..47c9a95 100644 --- a/.forgejo/workflows/update_daily.yml +++ b/.forgejo/workflows/update_daily.yml @@ -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 diff --git a/date.txt b/date.txt deleted file mode 100644 index 582b6a8..0000000 --- a/date.txt +++ /dev/null @@ -1 +0,0 @@ -Tue Jun 17 11:34:50 UTC 2025