Skip to content

scraper

scraper #26417

Workflow file for this run

name: scraper
on:
schedule:
- cron : '0 * * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Download demo announcements
run: |
rm data/results.json
pushd data
wget -O results.json https://www.berlin.de/polizei/service/versammlungsbehoerde/versammlungen-aufzuege/index.php/index/all.json
popd
- name: Commit and push
uses: github-actions-x/commit@v2.9
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
push-branch: 'main'
commit-message: 'scraper: add demo announcements'
rebase: true
name: 'scraper'
files: data/