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:
- time git clone --quiet --depth=1 git@git.opendatafrance.net:observatoire/observatoire-data.git
- cd observatoire-data
# sources (dumps)
- rm -fR sources/*
- find . -maxdepth 1 -type d -name sources -exec rm -fR {} \;
- mkdir sources
- cp -a ../dumps/* sources
# observatoire csv
- find . -maxdepth 1 -name '*.csv' -delete
- cp ../build/observatoire/*.csv .
# legacy exports
- rm -fR exports/*
- find . -maxdepth 1 -type d -name exports -exec rm -fR {} \;
- cp -a ../build/geojson exports
- cp -a ../build/markdown exports
- time git add .
......
Markdown is supported
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