diff options
author | Andrew Harvey <andrew@alantgeo.com.au> | 2022-05-24 14:20:32 +1000 |
---|---|---|
committer | Andrew Harvey <andrew@alantgeo.com.au> | 2022-05-24 14:20:32 +1000 |
commit | a4c05f0b5957f078814b48e60ae79fa401c703d9 (patch) | |
tree | 133d0b60513081ed8c4116d77967637da35dbd2d | |
parent | 8b211ac171958ec5c84f9549eb0a5a0006cdb764 (diff) |
clear any existing outputs during prepare to start fresh
-rw-r--r-- | .gitlab-ci.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6928b2c..32a6185 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -95,7 +95,9 @@ prepare: image: "registry.gitlab.com/alantgeo/vicmap2osm:prepare" before_script: - b2 authorize-account $B2_KEYID $B2_APPKEY - - b2 sync --allowEmptySource --noProgress b2://vicmap2osm/ . + - mkdir -p dist data + - b2 sync --allowEmptySource --noProgress --delete dist b2://vicmap2osm/dist + - b2 sync --allowEmptySource --noProgress --delete data b2://vicmap2osm/data cache: <<: *global_cache policy: push |