planet-file-updater/.forgejo/workflows/daily_data_maintenance.yml
Pieter Vander Vennet fec9e7930d
All checks were successful
/ update_planet_file (push) Successful in 50m50s
Attempt to fix script
2025-02-13 17:00:07 +01:00

26 lines
627 B
YAML

on:
- push
jobs:
update_planet_file:
runs-on: [ lain ]
steps:
- uses: actions/checkout@v3
- name: Tests
shell: bash
run: pwd && ls / && ls ~
- name: Download the planet file
shell: bash
run: wget https://planet.openstreetmap.org/pbf/planet-latest.osm.pbf -O /data/planet-latest.osm.pbf.part
- name: Move the planet file
shell: bash
run: mv -f /data/planet-latest.osm.pbf.part /data/planet-latest.osm.pbf
- name: Print download date
shell: bash
run: date --iso > /data/planet_download_date.txt