Get data from Overpass #45155
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Get data from Overpass | |
| on: | |
| schedule: | |
| #- cron: '00 6 * * *' # run every day at 06:00 UTC | |
| - cron: '0 * * * *' # stündlich | |
| 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.13 | |
| - 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@v5 | |
| with: | |
| commit_message: Update overpass query results | |
| commit_user_name: chnuessli | |
| commit_user_email: [email protected] | |
| commit_author: GitHub Action Bot <[email protected]> | |