Skip to content

Scrape $5K filers

Scrape $5K filers #586

Workflow file for this run

name: Scrape $5K filers
on:
workflow_dispatch:
schedule:
- cron: '0 13 * * *'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Scrape 2023
run: deno run --allow-read=. --allow-write=. --allow-net ./scrape.ts --session 2023
- name: Commit and push if it changed
run: |-
git config user.name "Automated"
git config user.email "actions@users.noreply.github.com"
git pull
git add *.json
timestamp=$(date -u)
git commit -m "Latest data: ${timestamp}" || exit 0
git push