summaryrefslogtreecommitdiff
path: root/sync_to_cdn.sh
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-12-17 23:19:01 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-12-17 23:19:01 +0100
commit29dbf9a6431ea1267e19cb64f196aa79b9a9e66a (patch)
tree8782dabbe46cfca02a44599b65b0bc410aeafb53 /sync_to_cdn.sh
parent7c86f6a194f56b0bb11f0a710d4e8ab90d101446 (diff)
downloadPROJ-data-29dbf9a6431ea1267e19cb64f196aa79b9a9e66a.tar.gz
PROJ-data-29dbf9a6431ea1267e19cb64f196aa79b9a9e66a.zip
sync_to_cdn.sh: set content-type
Diffstat (limited to 'sync_to_cdn.sh')
-rwxr-xr-xsync_to_cdn.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/sync_to_cdn.sh b/sync_to_cdn.sh
index da77d8f..f6207e1 100755
--- a/sync_to_cdn.sh
+++ b/sync_to_cdn.sh
@@ -6,5 +6,5 @@ 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
+aws s3 cp index.html "$TARGET" --profile projcdn --content-type "text/html"
+aws s3 cp README.DATUMGRID "$TARGET" --profile projcdn --content-type "text/plain"