diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-12-17 22:57:16 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-12-17 22:57:16 +0100 |
| commit | 4817130d268df7b5bd83bbc5fda0f1d5a75a0a09 (patch) | |
| tree | e7302faa45a210a942ef968451aedc1163aee528 /sync_to_cdn.sh | |
| parent | de6a04d8d600df2a0ac5896c5b82f243b5f8586c (diff) | |
| download | PROJ-data-4817130d268df7b5bd83bbc5fda0f1d5a75a0a09.tar.gz PROJ-data-4817130d268df7b5bd83bbc5fda0f1d5a75a0a09.zip | |
Add sync_to_cdn.sh and regenerate_index_html.py; refresh index.html
Diffstat (limited to 'sync_to_cdn.sh')
| -rwxr-xr-x | sync_to_cdn.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sync_to_cdn.sh b/sync_to_cdn.sh new file mode 100755 index 0000000..da77d8f --- /dev/null +++ b/sync_to_cdn.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +TARGET=s3://cdn.proj.org/ + +for i in `ls -d */`; do + echo "Synchronizing $i ..." + aws s3 sync $i "$TARGET" --exclude ".github/*" --profile projcdn +done +aws s3 cp index.html "$TARGET" --profile projcdn +aws s3 cp README.DATUMGRID "$TARGET" --profile projcdn |
