Update minify-map-json.yml
adjust filepaths
This commit is contained in:
parent
01246f5964
commit
587d443a58
4
.github/workflows/minify-map-json.yml
vendored
4
.github/workflows/minify-map-json.yml
vendored
|
@ -16,7 +16,7 @@ jobs:
|
||||||
- name: Update GeoJSON boundaries
|
- name: Update GeoJSON boundaries
|
||||||
run: |
|
run: |
|
||||||
sudo npm install -g mapshaper
|
sudo npm install -g mapshaper
|
||||||
mapshaper ./boundaries.geo.json snap -clean -o force precision=0.0001 format=geojson ./boundaries.geo.json
|
mapshaper boundaries.geo.json snap -clean -o force precision=0.0001 format=geojson boundaries.geo.json
|
||||||
process:
|
process:
|
||||||
needs: prepare
|
needs: prepare
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -24,7 +24,7 @@ jobs:
|
||||||
- name: Update TopoJSON boundaries
|
- name: Update TopoJSON boundaries
|
||||||
run: |
|
run: |
|
||||||
sudo npm install -g topojson-server
|
sudo npm install -g topojson-server
|
||||||
geo2topo ./boundaries.geo.json -q 50000 > ./website/data/boundaries.topo.json
|
geo2topo boundaries.geo.json -q 50000 > website/data/boundaries.topo.json
|
||||||
merge:
|
merge:
|
||||||
needs: process
|
needs: process
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in a new issue