update github action #50

Merged
hughrun merged 1 commit from geo2topo into master 2021-01-28 18:59:59 +11:00
2 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,4 @@
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
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

View file

@ -5,6 +5,7 @@ on:
- master - master
paths: paths:
- 'boundaries.geo.json' - 'boundaries.geo.json'
workflow_dispatch:
jobs: jobs:
prepare: prepare:
runs-on: ubuntu-latest runs-on: ubuntu-latest