MastodonBot/.forgejo/workflows/mapcomplete_edits_en_osm_town.yml

25 lines
No EOL
637 B
YAML

on:
workflow_dispatch:
schedule:
- cron: "0 2 * * *"
jobs:
mapcomplete_edits_en_osm_town:
runs-on: [ debian12 ]
steps:
- uses: https://source.mapcomplete.org/actions/checkout@v4
- 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
run: npm run start -- ./.forgejo/workflows/config/config.json ${{ secrets.MAPCOMPLETE_EDITS_EN_OSM_TOWN }}