Targeted case scrape #8
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: 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 |