From 12997c2eb4b04c7adc9fe91dccdc473f859f4cd1 Mon Sep 17 00:00:00 2001 From: Hugh Rundle Date: Thu, 28 Jan 2021 18:25:11 +1100 Subject: [PATCH] add csv-to-topo to geo-t-topo We need to merge the csv data into the new topojson file! --- .github/workflows/minify-map-json.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/minify-map-json.yml b/.github/workflows/minify-map-json.yml index b3886ee..83724ee 100644 --- a/.github/workflows/minify-map-json.yml +++ b/.github/workflows/minify-map-json.yml @@ -6,7 +6,7 @@ on: paths: - boundaries.geo.json jobs: - mergeData: + prepare: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -14,6 +14,13 @@ jobs: fetch-depth: 0 - name: Update TopoJSON boundaries run: ./.github/scripts/minify-map-json.sh + merge: + needs: prepare + runs-on: ubuntu-latest + steps: + - name: Merge CSV to TopoJSON + run: | + python3 ./.github/scripts/merge_csv_to_topojson.py - name: Create Pull Request uses: peter-evans/create-pull-request@v3 with: