Update minify-map-json.yml
clean up
This commit is contained in:
parent
2607f527de
commit
01246f5964
7
.github/workflows/minify-map-json.yml
vendored
7
.github/workflows/minify-map-json.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue