Skip to content

Get data from Overpass #30849

Get data from Overpass

Get data from Overpass #30849

Workflow file for this run

name: Get data from Overpass
on:
schedule:
#- cron: '00 6 * * *' # run every day at 06:00 UTC
- cron: '*/60 * * * *' # run every hour
workflow_dispatch: ~
jobs:
query_overpass:
runs-on: ubuntu-latest
continue-on-error: false
timeout-minutes: 10
steps:
- uses: actions/checkout@main
- name: Set up Python
uses: actions/setup-python@main
with:
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
sudo npm install -g osmtogeojson
- name: Get data from Overpass API
run: |
./run_queries.sh
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update overpass query results
commit_user_name: chnuessli
commit_user_email: chrigi@chnuessli.ch
commit_author: GitHub Action Bot <chrigi@chnuessli.ch>