Commit 985c6d8f authored by Pierre Dittgen's avatar Pierre Dittgen
Browse files

Update observatoire-data more gently

parent 30c5d5f0
Pipeline #1623 passed with stages
in 152 minutes
...@@ -65,12 +65,14 @@ update_observatoire_data_repo: ...@@ -65,12 +65,14 @@ update_observatoire_data_repo:
- time git clone --quiet --depth=1 git@git.opendatafrance.net:observatoire/observatoire-data.git - time git clone --quiet --depth=1 git@git.opendatafrance.net:observatoire/observatoire-data.git
- cd observatoire-data - cd observatoire-data
# sources (dumps) # sources (dumps)
- rm -fR sources/* - find . -maxdepth 1 -type d -name sources -exec rm -fR {} \;
- mkdir sources
- cp -a ../dumps/* sources - cp -a ../dumps/* sources
# observatoire csv # observatoire csv
- find . -maxdepth 1 -name '*.csv' -delete
- cp ../build/observatoire/*.csv . - cp ../build/observatoire/*.csv .
# legacy exports # legacy exports
- rm -fR exports/* - find . -maxdepth 1 -type d -name exports -exec rm -fR {} \;
- cp -a ../build/geojson exports - cp -a ../build/geojson exports
- cp -a ../build/markdown exports - cp -a ../build/markdown exports
- time git add . - time git add .
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment