Skip to content

Pull data from FHRS #185

Pull data from FHRS

Pull data from FHRS #185

Workflow file for this run

name: Pull data from FHRS
on:
schedule:
- cron: '5 5 * * 2'
workflow_dispatch:
jobs:
pull-fhrs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get dependancies
run: sudo apt install golang
- name: Pull data
run: go run ./main.go ./fhrs.go
- name: Format output
run: ./buildoutput.sh
- name: Commit new data
run: |
git config user.email "github-actions[bot]@users.noreply.github.com"
git config user.name "GitHub Actions"
git add -A data
git commit -m "autopublish: $(date -u +"%Y-%m-%d")"
git push