2025-02-06 23:38:50 +01:00
|
|
|
on:
|
2025-06-03 21:42:58 +02:00
|
|
|
workflow_dispatch:
|
2025-02-06 23:38:50 +01:00
|
|
|
schedule:
|
|
|
|
- cron: "0 2 * * *"
|
2025-02-06 22:37:56 +01:00
|
|
|
|
|
|
|
jobs:
|
2025-02-06 23:27:22 +01:00
|
|
|
mapcomplete_edits_en_osm_town:
|
2025-06-03 21:42:58 +02:00
|
|
|
runs-on: [ debian12 ]
|
2025-02-06 22:37:56 +01:00
|
|
|
steps:
|
2025-03-26 15:42:39 +01:00
|
|
|
- uses: https://source.mapcomplete.org/actions/checkout@v4
|
2025-02-06 22:37:56 +01:00
|
|
|
|
|
|
|
- name: Set up Node.js
|
|
|
|
uses: actions/setup-node@v3
|
|
|
|
with:
|
|
|
|
node-version: "20"
|
|
|
|
cache: "npm"
|
|
|
|
cache-dependency-path: package-lock.json
|
|
|
|
|
|
|
|
- name: install deps
|
|
|
|
run: npm ci
|
|
|
|
shell: bash
|
|
|
|
|
|
|
|
- name: Create mapcomplete edits overview
|
|
|
|
shell: bash
|
2025-02-06 23:35:18 +01:00
|
|
|
run: npm run start -- ./.forgejo/workflows/config/config.json ${{ secrets.MAPCOMPLETE_EDITS_EN_OSM_TOWN }}
|