Update minify-map-json.yml

clean up
This commit is contained in:
Hugh Rundle 2021-01-28 19:56:57 +11:00 committed by GitHub
parent 2607f527de
commit 01246f5964
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Update TopoJSON boundaries
- name: Update GeoJSON boundaries
run: |
sudo npm install -g mapshaper
mapshaper ./boundaries.geo.json snap -clean -o force precision=0.0001 format=geojson ./boundaries.geo.json
@ -21,9 +21,6 @@ jobs:
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
@ -41,4 +38,4 @@ jobs:
commit-message: Update TopoJSON boundaries
title: Update TopoJSON boundaries
body: Clean and minify GeoJSON and process to TopoJSON
branch: geo-to-topo
branch: geo-to-topo