Skip to content

Scrape data

Scrape data #140

Workflow file for this run

name: Scrape data
on:
schedule:
- cron: "0 6 * * *"
workflow_dispatch:
jobs:
scrape:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Scrape pool data
run: |
cd data
pip install -r requirements.txt
scrapy crawl chi_parks_pool_spider -O ../src/data/pools.json
- uses: EndBug/add-and-commit@v9
with:
add: src/data/pools.json
message: "Update pools data"