-
-
Notifications
You must be signed in to change notification settings - Fork 4
37 lines (31 loc) · 941 Bytes
/
overpass.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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>