Skip to content

Targeted case scrape #8

Targeted case scrape

Targeted case scrape #8

Workflow file for this run

name: Targeted case scrape
on:
workflow_dispatch:
inputs:
division:
required: true
type: choice
description: Court division to scrape
options:
- chancery
- law
- civil
- probate
numbers:
required: true
type: string
description: Case numbers to scrape (comma-separated string)
jobs:
scrape:
name: Scrape new cases
uses: ./.github/workflows/scrape.yml
with:
command: |
make -f Makefile.targeted scrape_cases DIVISION="${{ github.event.inputs.division }}" CASE_NUMBERS="${{ github.event.inputs.numbers }}"
secrets: inherit
deploy:
name: Deploy to Heroku
needs: scrape
uses: ./.github/workflows/heroku_deploy.yml
secrets: inherit