scraper #26418
This file contains 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: 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/ |