From d308ae7fb6ef0cfb372dbc5ecbc424fa716c58ae Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Tue, 2 Sep 2025 01:57:38 +0200 Subject: [PATCH] Add weekly 'createTiles' step --- .forgejo/workflows/update_weekly.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .forgejo/workflows/update_weekly.yml diff --git a/.forgejo/workflows/update_weekly.yml b/.forgejo/workflows/update_weekly.yml new file mode 100644 index 0000000..19ee6b9 --- /dev/null +++ b/.forgejo/workflows/update_weekly.yml @@ -0,0 +1,18 @@ +on: + workflow_dispatch: + schedule: + - cron: "0 2 * * 0" + +jobs: + create_archive_tiles: + runs-on: [ osm-cache ] + steps: + - uses: https://source.mapcomplete.org/actions/checkout@v4 + + - name: Print data + shell: bash + run: ls -h /data/planet-latest.pmtiles + + - name: Create new tiles + shell: bash + run: /data/generateTiles.sh # generated by the script in the MapComplete repo \ No newline at end of file