diff options
-rw-r--r-- | .gitlab-ci.yml | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dadb8e8..d3e105b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,14 +5,6 @@ cache: &global_cache paths: - .yarn - node_modules - - data/vicmap.geojson - - dist/vicmap-complex.geojson - - dist/vicmap-building.geojson - - dist/vicmap-osm-uniq-flats.geojson - - data/victoria-addr.osm.geojson - - data/victoria-named-features.osm.geojson - - dist/blocksByOSMAddr.geojson - - data/victoria-admin-level10.osm.geojson stages: - docker @@ -100,6 +92,9 @@ docker candidate: prepare: stage: prepare image: "registry.gitlab.com/alantgeo/vicmap2osm:prepare" + before_script: + - b2 authorize-account $B2_KEYID $B2_APPKEY + - b2 sync --noProgress vicmap2osm . cache: <<: *global_cache policy: push @@ -109,6 +104,8 @@ prepare: - mkdir -p dist - make data/vicmap/ll_gda94/sde_shape/whole/VIC/VMADD/layer/address.shp - make data/vicmap.geojson + after_script: + - b2 sync --noProgress data/vicmap.geojson vicmap2osm/data/vicmap.geojson when: manual build vicmap: |