2021-01-26 16:56:43 +11:00
|
|
|
name: Merge CSV to TopoJSON
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
paths:
|
|
|
|
- website/data/library_services_information.csv
|
|
|
|
jobs:
|
|
|
|
mergeData:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
- name: Merge CSV to TopoJSON
|
2021-01-26 17:25:19 +11:00
|
|
|
run: |
|
2021-01-26 17:34:35 +11:00
|
|
|
python3 ./.github/scripts/merge_csv_to_topojson.py
|
2021-01-26 16:56:43 +11:00
|
|
|
- name: Create Pull Request
|
|
|
|
uses: peter-evans/create-pull-request@v3
|
|
|
|
with:
|
|
|
|
commit-message: update TopoJSON
|
|
|
|
title: Update TopoJSON
|
|
|
|
body: Update boundaries.topo.json with new data from library_services_information.csv
|
2021-01-26 17:34:35 +11:00
|
|
|
branch: auto-update-topo
|