Add weekly 'createTiles' step
This commit is contained in:
parent
c8ddc72744
commit
d308ae7fb6
1 changed files with 18 additions and 0 deletions
18
.forgejo/workflows/update_weekly.yml
Normal file
18
.forgejo/workflows/update_weekly.yml
Normal file
|
|
@ -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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue