From bc3bcdab47d7f9cd171404e8532db16ae5912558 Mon Sep 17 00:00:00 2001 From: Hugh Rundle Date: Thu, 28 Jan 2021 20:44:56 +1100 Subject: [PATCH] update worklow --- .github/workflows/minify-map-json.yml | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/.github/workflows/minify-map-json.yml b/.github/workflows/minify-map-json.yml index 2e07610..3b8af7c 100644 --- a/.github/workflows/minify-map-json.yml +++ b/.github/workflows/minify-map-json.yml @@ -7,7 +7,7 @@ on: - 'boundaries.geo.json' workflow_dispatch: jobs: - prepare: + processJson: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -17,23 +17,8 @@ jobs: run: | sudo npm install -g mapshaper mapshaper ./boundaries.geo.json snap -clean -o force precision=0.0001 format=geojson ./boundaries.geo.json - process: - needs: prepare - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Update TopoJSON boundaries - run: | sudo npm install -g topojson-server geo2topo ./boundaries.geo.json -q 50000 > ./website/data/boundaries.topo.json - merge: - needs: process - 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 -- 2.39.5