From 29dbf9a6431ea1267e19cb64f196aa79b9a9e66a Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Tue, 17 Dec 2019 23:19:01 +0100 Subject: sync_to_cdn.sh: set content-type --- sync_to_cdn.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sync_to_cdn.sh') 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" -- cgit v1.2.3