Update data from remote location #97069
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: 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 |