Skip to content

Update data from remote location #97069

Update data from remote location

Update data from remote location #97069

Workflow file for this run

name: Update data from remote location
on:
workflow_dispatch:
schedule:
- cron: "*/10 * * * *"
jobs:
fetch:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v2
- name: Fetch shootings data
uses: githubocto/flat@v3
with:
http_url: ${{ secrets.SHOOTINGS_REMOTE }}
downloaded_filename: public/data.csv
mask: true
- name: Fetch taser data
uses: githubocto/flat@v3
with:
http_url: ${{ secrets.TASER_REMOTE }}
downloaded_filename: public/taser.csv
mask: true
- name: Fetch official data
uses: githubocto/flat@v3
with:
http_url: ${{ secrets.OFFICIAL_REMOTE }}
downloaded_filename: public/official_statistics.csv
mask: true